git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
261842b
)
tracing: protect trace_printk from recursion
author
Steven Rostedt
<srostedt@redhat.com>
Fri, 17 Apr 2009 20:13:55 +0000
(16:13 -0400)
committer
Steven Rostedt
<rostedt@goodmis.org>
Fri, 17 Apr 2009 20:21:35 +0000
(16:21 -0400)
trace_printk can be called from any context, including NMIs.
If this happens, then we must test for for recursion before
grabbing any spinlocks.
This patch prevents trace_printk from being called recursively.
[ Impact: prevent hard lockup in lockdep event tracer ]
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c
patch
|
blob
|
history
diff --cc
kernel/trace/trace.c
Simple merge