From: Linus Torvalds Date: Mon, 24 Mar 2008 18:07:15 +0000 (-0700) Subject: Don't 'printk()' while holding xtime lock for writing X-Git-Tag: v2.6.25-rc7~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92896bd9fd75b1c993b92874d339a8088bb75560;p=pandora-kernel.git 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: Marcin Slusarz Debugged-by: Peter Zijlstra Cc: Ingo Molnar Cc: Thomas Gleixner Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed