lkml.org 
[lkml]   [2012]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] x86, reboot: cleanup NMI and REBOOT_IRQ
Date
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 | 104 +++++++++++++++++++++++--------------------------
1 files changed, 49 insertions(+), 55 deletions(-)

--
1.7.7.6



\
 
 \ /
  Last update: 2012-02-10 22:05    [W:0.040 / U:2.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site