[Hotplug_sig] MINUTES for Hotplug SIG Con Call 06/07

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Neither method is completely reliable since they rely on having
> either sysfs or procfs mounted.  And remember this has to work
> reasonably on the small minority of systems without CPU hotplug :-)
> 
> So how about: I'll count the entries in /sys/devices/system/cpu
> and use that if possible.  Otherwise I'll fall back to
> sysconf(_SC_NPROCESSORS_CONF).
> 
> Sound ok?

Sounds OK.  CC me on that patch and I'll try to be sure it gets to 
Redhat and SuSE, as the versions they currently ship have the broken top.



[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux