]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit72449e3cb26d73d0d1f7a7f214b7f46ab3213d0e
tree4f24e5b4024359dd42c91b84cbc25280f21b7314
parent6a9dfee6b0fca979b44ab5a607731ea484c87a9c
[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