[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <46FEB9CA.9090703@tmr.com>
Date: Sat, 29 Sep 2007 16:47:06 -0400
From: Bill Davidsen <davidsen@....com>
To: Alexey Starikovskiy <astarikovskiy@...e.de>
CC: Mark Lord <lkml@....ca>, "H. Peter Anvin" <hpa@...or.com>,
linux-kernel@...r.kernel.org
Subject: Re: regression in 2.6.23-rc8 - power off failed
Alexey Starikovskiy wrote:
> -static void
> -acpi_power_off (void)
> -{
> - printk("%s called\n",__FUNCTION__);
> - /* Some SMP machines only can poweroff in boot CPU */
> - set_cpus_allowed(current, cpumask_of_cpu(0));
> ACPI in kernel 2.6.12 did disable non-boot cpus too in powe_off.
> Later only comment was left for some reason...
>
Am I midreading that code, or does it really assume that the boot cpu is
always zero? Or just that zero will be able to do the power off?
In any case I have had an SMP machine which did not have a CPU zero, and
it was discussed here, I believe. Wonder what happens if you set
affinity to a CPU you don't have...
--
Bill Davidsen <davidsen@....com>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists