From: Peter Zijlstra <a.p.zijlstra@chello.nl>
To: "J. R. Okajima" <hooanon05@yahoo.co.jp>
Cc: Ingo Molnar <mingo@elte.hu>, linux-kernel@vger.kernel.org
Subject: Re: Q. lockdep_assert_held() and lockdep_off/on()
Date: Fri, 08 Apr 2011 15:32:30 +0200 [thread overview]
Message-ID: <1302269550.9086.142.camel@twins> (raw)
In-Reply-To: <9752.1302268789@jrobl>
On Fri, 2011-04-08 at 22:19 +0900, J. R. Okajima wrote:
> Hello Peter Zijlstra and Ingo Molnar,
>
> May I ask you a question about the commit
> f607c66 2009-08-02 lockdep: Introduce lockdep_assert_held()
>
> In short, should lockdep_assert_held() support ->lockdep_recursion?
Probably, however
> Its current definition is
> #define lockdep_assert_held(l) WARN_ON(debug_locks && !lockdep_is_held(l))
>
> When someone somewhere calls lockdep_off() and executes some memory
you're not supposed to do that..
prev parent reply other threads:[~2011-04-08 13:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-08 13:19 Q. lockdep_assert_held() and lockdep_off/on() J. R. Okajima
2011-04-08 13:32 ` Peter Zijlstra [this message]
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=1302269550.9086.142.camel@twins \
--to=a.p.zijlstra@chello.nl \
--cc=hooanon05@yahoo.co.jp \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/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