From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Ingo Molnar <mingo@kernel.org>
Cc: Peter Hurley <peter@hurleysoftware.com>,
Peter Zijlstra <peterz@infradead.org>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] locking: Add WARN_ON_ONCE lock assertion
Date: Tue, 16 Sep 2014 11:17:29 -0700 [thread overview]
Message-ID: <20140916181729.GB24456@kroah.com> (raw)
In-Reply-To: <20140916080814.GA24921@gmail.com>
On Tue, Sep 16, 2014 at 10:08:14AM +0200, Ingo Molnar wrote:
>
> * 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>
Any objection for me taking this through the TTY tree due to the
dependancies on future tty patches that use the function in this patch?
thanks,
greg k-h
next prev parent reply other threads:[~2014-09-16 18:18 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
2014-09-16 18:17 ` Greg Kroah-Hartman [this message]
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=20140916181729.GB24456@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@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