Skip to content
Commit 92896bd9 authored by Linus Torvalds's avatar Linus Torvalds
Browse files

Don't 'printk()' while holding xtime lock for writing



The printk() can deadlock because it can wake up klogd(), and
task enqueueing will try to read the time in order to set a hrtimer.

Reported-by: default avatarMarcin Slusarz <marcin.slusarz@gmail.com>
Debugged-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent d2532dd2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment