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:20:57 +0100 [thread overview]
Message-ID: <20130306102057.GB6587@gmail.com> (raw)
In-Reply-To: <CACVXFVNzN721wGm96SroK6cm4E08gs+tJtELsHvxVTCXZtX95g@mail.gmail.com>
* Ming Lei <ming.lei@canonical.com> wrote:
> Hi,
>
> The percpu variables of 'lockdep_stats' and 'cpu_lock_stat' may be accessed before
> percpu area is brought up in case of CONFIG_DEBUG_LOCKDEP/CONFIG_LOCK_STAT, so
> these variables in non-boot CPUs will be initialized incorrectly.
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?
Thanks,
Ingo
next prev parent reply other threads:[~2013-03-06 10:21 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 [this message]
2013-03-06 10:30 ` Ming Lei
2013-03-06 10:34 ` Ingo Molnar
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=20130306102057.GB6587@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