Re: [PATCH] kernel/sys.c: call disable_nonboot_cpus in kernel_restart

2012-09-04 Thread Shawn Guo
On Tue, Sep 04, 2012 at 03:36:24PM -0700, Andrew Morton wrote: > On Mon, 3 Sep 2012 22:24:58 +0800 > Shawn Guo wrote: > > > Like kernel_power_off calls disable_nonboot_cpus, we may want to have > > kernel_restart call disable_nonboot_cpus as well. Doing so can help > > the machines that require

Re: [PATCH] kernel/sys.c: call disable_nonboot_cpus in kernel_restart

2012-09-04 Thread Stephen Boyd
On 09/04/12 15:36, Andrew Morton wrote: > On Mon, 3 Sep 2012 22:24:58 +0800 > Shawn Guo wrote: > >> Like kernel_power_off calls disable_nonboot_cpus, we may want to have >> kernel_restart call disable_nonboot_cpus as well. Doing so can help >> the machines that require boot cpu be the last alive

Re: [PATCH] kernel/sys.c: call disable_nonboot_cpus in kernel_restart

2012-09-04 Thread Andrew Morton
On Mon, 3 Sep 2012 22:24:58 +0800 Shawn Guo wrote: > Like kernel_power_off calls disable_nonboot_cpus, we may want to have > kernel_restart call disable_nonboot_cpus as well. Doing so can help > the machines that require boot cpu be the last alive cpu during reboot > to survive with kernel rest

[PATCH] kernel/sys.c: call disable_nonboot_cpus in kernel_restart

2012-09-03 Thread Shawn Guo
Like kernel_power_off calls disable_nonboot_cpus, we may want to have kernel_restart call disable_nonboot_cpus as well. Doing so can help the machines that require boot cpu be the last alive cpu during reboot to survive with kernel restart. Signed-off-by: Shawn Guo --- kernel/sys.c |1 + 1