diff options
author | Borislav Petkov <[email protected]> | 2014-06-20 23:16:45 +0200 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2014-07-21 18:14:32 +0200 |
commit | 51cbe7e7c400def749950ab6b2c120624dbe21a7 (patch) | |
tree | 4dad4c11bc99e9596fa5e6c6d0bb426388ec957d /tools/perf/util/trace-event-scripting.c | |
parent | 9a3c4145af32125c5ee39c0272662b47307a8323 (diff) |
x86, MCE: Robustify mcheck_init_device
BorisO reports that misc_register() fails often on xen. The current code
unregisters the CPU hotplug notifier in that case. If then a CPU is
offlined and onlined back again, we end up with a second timer running
on that CPU, leading to soft lockups and system hangs.
So let's leave the hotcpu notifier always registered - even if
mce_device_create failed for some cores and never unreg it so that we
can deal with the timer handling accordingly.
Reported-and-Tested-by: Boris Ostrovsky <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Borislav Petkov <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions