Thread (1 message) 1 message, 1 author, 2007-03-12

Re: /sys/devices/system/cpu/cpuX/online are missing

From: Giuliano Pochini <hidden>
Date: 2007-03-12 22:59:33
Also in: lkml


On Mon, 12 Mar 2007, Heiko Carstens wrote:
On Sun, Mar 11, 2007 at 10:26:52PM +0100, Giuliano Pochini wrote:
quoted

Since 2.6.20 /sys/devices/system/cpu/cpuX/online isn't there anymore. The
directories exist, though. I also tested linux-2.6.21rc3. I had a look at the
archives and I found nothing about the removal of that file, which is still
documented in Documentation/cpu-hotplug.txt. I don't know if other
architectures are affected.

$ uname -a
Linux Jay 2.6.20 #1 SMP Mon Feb 5 22:42:18 CET 2007 ppc 7455, altivec supported PowerMac3,6 GNU/Linux

No cpusets. CONFIG_HOTPLUG_CPU=y
Somebody inverted the logic when and if the 'online' attribute for cpu devices
appear. See 72486f1f8f0a2bc828b9d30cf4690cf2dd6807fc.
The fix for s390 is this: 6721f77810dfcb7cbf8e97be6fa43fe2740dd0aa.
Looks like arch/ppc was left out as well.
I had a look at arch/powerpc/kernel/smp.c but I'm not familiar at all with 
those parts of the kernel. I'm cc'ing this message to linuxppc-dev.


--
Giuliano.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help