diff options
author | Peter Zijlstra <[email protected]> | 2010-12-08 15:29:02 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2010-12-08 20:16:31 +0100 |
commit | c277443cfc29b1623b4923219ff0bdb48b91b589 (patch) | |
tree | 0655516f81164a42dfb06e416b54c50cac33f433 /net/unix/af_unix.c | |
parent | c079c791c5a0627fc7b752d31d72e274e0596ba8 (diff) |
perf: Stop all counters on reboot
Use the reboot notifier to detach all running counters on reboot, this
solves a problem with kexec where the new kernel doesn't expect
running counters (rightly so).
It will however decrease the coverage of the NMI watchdog. Making a
kexec specific reboot notifier callback would be best, however that
would require touching all notifier callback handlers as they are not
properly structured to deal with new state.
As a compromise, place the perf reboot notifier at the very last
position in the list.
Reported-by: Yinghai Lu <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Vivek Goyal <[email protected]>
Cc: Eric W. Biederman <[email protected]>
Cc: Jason Wessel <[email protected]>
Cc: Don Zickus <[email protected]>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions