From: Ingo Molnar <mingo@kernel.org>
To: Peter Hurley <peter@hurleysoftware.com>
Cc: Peter Zijlstra <peterz@infradead.org>,
linux-kernel@vger.kernel.org,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: Re: [PATCH] locking: Add WARN_ON_ONCE lock assertion
Date: Tue, 16 Sep 2014 10:08:14 +0200 [thread overview]
Message-ID: <20140916080814.GA24921@gmail.com> (raw)
In-Reply-To: <1410373899-4113-1-git-send-email-peter@hurleysoftware.com>
* Peter Hurley <peter@hurleysoftware.com> wrote:
> An interface may need to assert a lock invariant and not flood the
> system logs; add a lockdep helper macro equivalent to
> lockdep_assert_held() which only WARNs once.
>
> cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Thanks,
Ingo
next prev parent reply other threads:[~2014-09-16 8:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-10 18:31 [PATCH] locking: Add WARN_ON_ONCE lock assertion Peter Hurley
2014-09-16 8:08 ` Ingo Molnar [this message]
2014-09-16 18:17 ` Greg Kroah-Hartman
2014-09-17 12:32 ` Ingo Molnar
2014-09-17 16:09 ` Greg Kroah-Hartman
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=20140916080814.GA24921@gmail.com \
--to=mingo@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peter@hurleysoftware.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