diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-04-17 16:13:55 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-04-17 16:21:35 -0400 |
commit | 3189cdb31622f4e40688ce5a6fc5d940b42bc805 (patch) | |
tree | 89f370c0079281c55f37230c17951514c1b508c9 /include/xen/page.h | |
parent | 261842b7c9099f56de2eb969c8ad65402d68e00e (diff) |
tracing: protect trace_printk from recursion
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>
Diffstat (limited to 'include/xen/page.h')
0 files changed, 0 insertions, 0 deletions