public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@kernel.org>
To: Ming Lei <ming.lei@canonical.com>
Cc: Peter Zijlstra <peterz@infradead.org>,
	Ingo Molnar <mingo@redhat.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: lockdep: access percpu variable too early
Date: Wed, 6 Mar 2013 11:34:06 +0100	[thread overview]
Message-ID: <20130306103406.GB16827@gmail.com> (raw)
In-Reply-To: <CACVXFVMN8=6aLf2NGaLCiLjH+yy7wSmWyRG0w09--0au1vGnLg@mail.gmail.com>


* Ming Lei <ming.lei@canonical.com> wrote:

> On Wed, Mar 6, 2013 at 6:20 PM, Ingo Molnar <mingo@kernel.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.

Thanks,

	Ingo

  reply	other threads:[~2013-03-06 10:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-28 15:48 lockdep: access percpu variable too early Ming Lei
2013-03-06 10:20 ` Ingo Molnar
2013-03-06 10:30   ` Ming Lei
2013-03-06 10:34     ` Ingo Molnar [this message]
2013-03-06 13:37       ` Ming Lei

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130306103406.GB16827@gmail.com \
    --to=mingo@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ming.lei@canonical.com \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox