printk, lockdep: Disable lock debugging on zap_locks()
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Tue, 7 Jun 2011 09:17:30 +0000 (11:17 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 14 Nov 2011 12:35:16 +0000 (13:35 +0100)
commit94d24fc47219219b5aa23b45956cc37ee5aa5b01
treecc7f5fbf4f2e9c6243c9b3ce2439c2d3807d5f12
parent7f80850d3f9fd8fda23a317044aef3a6bafab06b
printk, lockdep: Disable lock debugging on zap_locks()

zap_locks() is used by printk() in a last ditch effort to get data
out, clearly we cannot trust lock state after this so make it disable
lock debugging.

Also don't treat printk recursion through lockdep as a normal
recursion bug but try hard to get the lockdep splat out.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/n/tip-kqxwmo4xz37e1s8w0xopvr0q@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/lockdep.h
kernel/printk.c