Messages in this thread | | | From | Don Zickus <> | Subject | [PATCH 0/2 v2] x86, reboot: cleanup NMI and REBOOT_IRQ | Date | Mon, 13 Feb 2012 15:27:38 -0500 |
| |
After dealing with pstore conversations about spin locks, I had an idea to simplify the native_smp_stop_other_cpus() path by using both REBOOT_IRQ and NMI instead of using either or.
I also cleaned up a WARN_ON splat from rescheduling.
Tested 10 panics on my core2 quad using 'echo c > /proc/sysrq-trigger' and panic=10 on the commandline. The machine panic'd and rebooted succesfully all 10 times. Though only the first time did I see the WARN_ON splat, the other 9 times I couldn't duplicate it.
Don Zickus (2): x86, reboot: revert stop_other_cpus to using IRQ with NMI fallback x86, reschedule: check to see if system is shutting down
arch/x86/kernel/smp.c | 103 +++++++++++++++++++++++-------------------------- 1 files changed, 48 insertions(+), 55 deletions(-)
-- 1.7.7.6
| |