printk: robustify printk
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 8 Aug 2008 19:47:09 +0000 (21:47 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Nov 2009 00:52:43 +0000 (16:52 -0800)
commit71e2f32b6006fcef62578fb5bb7ba025a85a2d44
tree0528b960e04d9db2276c391a1b3fc5e4d2eebabd
parente3a7dfadd027458955f0783ba19d99c096b1b572
printk: robustify printk

commit b845b517b5e3706a3729f6ea83b88ab85f0725b0 upstream.

Avoid deadlocks against rq->lock and xtime_lock by deferring the klogd
wakeup by polling from the timer tick.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/kernel.h
kernel/printk.c
kernel/time/tick-sched.c
kernel/timer.c