diff options
| author | Chen, Gong <[email protected]> | 2015-08-12 16:29:37 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2015-08-13 08:12:51 +0000 |
| commit | f29a7aff4bd60ebc3da4982f80144a4158c4c74a (patch) | |
| tree | 1403d279016fbaba44d00cb98e038b439fc50d65 /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | x86/mce: Remove the MCE ring for Action Optional errors (diff) | |
| download | kernel-f29a7aff4bd60ebc3da4982f80144a4158c4c74a.tar.gz kernel-f29a7aff4bd60ebc3da4982f80144a4158c4c74a.zip | |
x86/mce: Avoid potential deadlock due to printk() in MCE context
Printing in MCE context is a no-no, currently, as printk() is
not NMI-safe. If some of the notifiers on the MCE chain call do
so, we may deadlock. In order to avoid that, delay printk() to
process context where it is safe.
Reported-by: Xie XiuQi <[email protected]>
Signed-off-by: Chen, Gong <[email protected]>
[ Fold in subsequent patch from Boris for early boot logging. ]
Signed-off-by: Tony Luck <[email protected]>
[ Kick irq_work in mce_log() directly. ]
Signed-off-by: Borislav Petkov <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
