[PATCH] lockdep: print irq-trace info on asserts
authorIngo Molnar <mingo@elte.hu>
Wed, 13 Dec 2006 08:34:43 +0000 (00:34 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Wed, 13 Dec 2006 17:05:50 +0000 (09:05 -0800)
commit3117df0453828bd045c16244e6f50e5714667a8a
tree4f24e5b4024359dd42c91b84cbc25280f21b7314
parent27c3b23226fc649de47e4886ccbf994482f388ba
[PATCH] lockdep: print irq-trace info on asserts

When we print an assert due to scheduling-in-atomic bugs, and if lockdep
is enabled, then the IRQ tracing information of lockdep can be printed
to pinpoint the code location that disabled interrupts. This saved me
quite a bit of debugging time in cases where the backtrace did not
identify the irq-disabling site well enough.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/lockdep.h
kernel/lockdep.c
kernel/sched.c