Messages in this thread | | | Date | Tue, 16 Sep 2014 10:08:14 +0200 | From | Ingo Molnar <> | Subject | Re: [PATCH] locking: Add WARN_ON_ONCE lock assertion |
| |
* 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
| |