[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140916080814.GA24921@gmail.com>
Date: Tue, 16 Sep 2014 10:08:14 +0200
From: Ingo Molnar <mingo@...nel.org>
To: Peter Hurley <peter@...leysoftware.com>
Cc: Peter Zijlstra <peterz@...radead.org>,
linux-kernel@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: Re: [PATCH] locking: Add WARN_ON_ONCE lock assertion
* Peter Hurley <peter@...leysoftware.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@...uxfoundation.org>
> Signed-off-by: Peter Hurley <peter@...leysoftware.com>
Acked-by: Ingo Molnar <mingo@...nel.org>
Thanks,
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists