[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACVXFVPsHYc5KzSkJDafnfg5KasiWexoCC=9gJFTM5UkTrcMsA@mail.gmail.com>
Date: Wed, 6 Mar 2013 21:37:30 +0800
From: Ming Lei <ming.lei@...onical.com>
To: Ingo Molnar <mingo@...nel.org>
Cc: Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: lockdep: access percpu variable too early
On Wed, Mar 6, 2013 at 6:34 PM, Ingo Molnar <mingo@...nel.org> wrote:
>
> * Ming Lei <ming.lei@...onical.com> wrote:
>
>> On Wed, Mar 6, 2013 at 6:20 PM, Ingo Molnar <mingo@...nel.org> 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.
OK, I may post a patch for review, but the arch dependent __my_cpu_offset
still need to be initialized very early.
Thanks,
--
Ming Lei
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists