diff options
author | Steven Rostedt <srostedt@redhat.com> | 2011-04-20 21:41:56 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-04-22 11:06:58 +0200 |
commit | 48702ecf308e53f176c1f6fdc193d622ded54ac0 (patch) | |
tree | aa348b35b3a97fd9a5230e145ea4e6186ab2a978 /Kconfig | |
parent | f4185812aa046ecb97e8817e10148cacdd7a6baa (diff) | |
download | lwn-48702ecf308e53f176c1f6fdc193d622ded54ac0.tar.gz lwn-48702ecf308e53f176c1f6fdc193d622ded54ac0.zip |
lockdep: Print a nicer description for simple deadlocks
Lockdep output can be pretty cryptic, having nicer output
can save a lot of head scratching. When a simple deadlock
scenario is detected by lockdep (lock A -> lock A) we now
get the following new output:
other info that might help us debug this:
Possible unsafe locking scenario:
CPU0
----
lock(&(lock)->rlock);
lock(&(lock)->rlock);
*** DEADLOCK ***
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/20110421014259.643930104@goodmis.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions