public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
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: Wed, 17 Sep 2014 09:09:32 -0700	[thread overview]
Message-ID: <20140917160932.GA6613@kroah.com> (raw)
In-Reply-To: <20140917123256.GE2704@gmail.com>

On Wed, Sep 17, 2014 at 02:32:56PM +0200, Ingo Molnar wrote:
> 
> * Greg Kroah-Hartman <gregkh@linuxfoundation.org> wrote:
> 
> > 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?
> 
> Now that the patch is correct I have no objection whatsoever, 
> feel free!

Thanks, will do.

greg k-h

      reply	other threads:[~2014-09-17 16:10 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
2014-09-17 12:32     ` Ingo Molnar
2014-09-17 16:09       ` Greg Kroah-Hartman [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=20140917160932.GA6613@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