From: Andrew Morton <akpm@osdl.org>
To: "Brown, Len" <len.brown@intel.com>
Cc: michal.k.k.piotrowski@gmail.com, mingo@elte.hu,
arjan@linux.intel.com, linux-kernel@vger.kernel.org,
linux-acpi@vger.kernel.org, robert.moore@intel.com
Subject: Re: 2.6.17-mm1 - possible recursive locking detected
Date: Thu, 22 Jun 2006 00:49:31 -0700 [thread overview]
Message-ID: <20060622004931.60234590.akpm@osdl.org> (raw)
In-Reply-To: <CFF307C98FEABE47A452B27C06B85BB6CF0D02@hdsmsx411.amr.corp.intel.com>
On Thu, 22 Jun 2006 03:40:36 -0400
"Brown, Len" <len.brown@intel.com> wrote:
> >> Nothing jumps out at me as incorrect above, so
> >> at this point it looks like a CONFIG_LOCKDEP artifact --
> >> but lets ask the experts:-)
> >
> >Yes, lockdep uses the callsite of spin_lock_init() to detect
> >the "type" of
> >a lock.
> >
> >But the ACPI obfuscation layers use the same spin_lock_init() site to
> >initialise two not-the-same locks, so lockdep decides those
> >two locks are of the same "type" and gets confused.
>
> interesting definition of "type". I guess it works
> in practice or others would be complaining...
It works out that way, yes.
> >We had earlier decided to remove that ACPI code which kmallocs a single
> >spinlock. When that's done, lockdep will become unconfused.
>
> Yes, that change is already on the way.
Is good.
> The key thing here is that our recent changes in
> how the locks are _used_ is okay -- and I think it is.
Well. We don't know that. We just know that this report of unokayness
wasn't right. With Ingo's Linux-only patch we're in a position to verify
that the locking is probably OK.
next prev parent reply other threads:[~2006-06-22 7:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-22 7:40 2.6.17-mm1 - possible recursive locking detected Brown, Len
2006-06-22 7:49 ` Andrew Morton [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-06-22 7:51 Brown, Len
2006-06-22 7:57 ` Andrew Morton
2006-06-22 4:28 Brown, Len
2006-06-22 4:59 ` Andrew Morton
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=20060622004931.60234590.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=arjan@linux.intel.com \
--cc=len.brown@intel.com \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=michal.k.k.piotrowski@gmail.com \
--cc=mingo@elte.hu \
--cc=robert.moore@intel.com \
/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