diff options
author | Peter Zijlstra <peterz@infradead.org> | 2017-03-01 16:23:30 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-03-02 09:00:38 +0100 |
commit | 7fb4a2cea6b18dab56d609530d077f168169ed6b (patch) | |
tree | 4b0e6b73918486e175841c1deb6ff72811add002 /kernel/.gitignore | |
parent | 2b232e0c3b3a09f3e33750aa20e314f1b80e5361 (diff) | |
download | linux-7fb4a2cea6b18dab56d609530d077f168169ed6b.tar.bz2 |
locking/lockdep: Add nest_lock integrity test
Boqun reported that hlock->references can overflow. Add a debug test
for that to generate a clear error when this happens.
Without this, lockdep is likely to report a mysterious failure on
unlock.
Reported-by: Boqun Feng <boqun.feng@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Nicolai Hähnle <Nicolai.Haehnle@amd.com>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/.gitignore')
0 files changed, 0 insertions, 0 deletions