Re: lockdep: access percpu variable too early
From: Ingo Molnar
Date: Wed Mar 06 2013 - 05:34:16 EST
* Ming Lei <ming.lei@xxxxxxxxxxxxx> wrote:
> On Wed, Mar 6, 2013 at 6:20 PM, Ingo Molnar <mingo@xxxxxxxxxx> wrote:
> >
> > What's the practical effect of it? Do we copy the value from the boot CPU and
> > thus the secondary CPUs start with slightly increased stats?
>
> Yes, it is the major effect.
>
> Also the arch dependent __my_cpu_offset might be initialized a bit late.
I suspect we could try to fix it - post-initializing it after percpu setup sounds
like a viable option, if it does not get too ugly.
Thanks,
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/