lkml.org 
[lkml]   [2014]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] locking: Add WARN_ON_ONCE lock assertion

* 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,

Ingo


\
 
 \ /
  Last update: 2014-09-17 15:01    [W:0.089 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site