SOURCES: irqbalance.init - use functions - add chkconfig - actuall...
Paweł Gołaszewski
blues w pld-linux.org
Śro, 13 Gru 2006, 20:35:44 CET
On Wed, 13 Dec 2006, glen wrote:
> Author: glen Date: Wed Dec 13 18:42:44 2006 GMT
> Module: SOURCES Tag: HEAD
> ---- Log message:
[...]
> - skip very early on UP
[...]
> +# useless on UP
> +if [ "$(LC_ALL=C grep "^processor.*:.*[0-9]" /proc/cpuinfo | wc -l)" -lt 2 ]; then
> + exit 0
> +fi
[...]
Well...
The test should only check if kernel is SMP.
CPU alone can be hotpluged and you can start with only one.
It's theoretical but really possible (I have one machine which can have
processors hotpluged... never tried, but is possible on the paper :D ).
--
pozdr. Paweł Gołaszewski jid:blues<at>jabber<dot>gda<dot>pl
--------------------------------------------------------------------------
If you think of MS-DOS as mono, and Windows as stereo, then Linux is Dolby
Pro-Logic Surround Sound with Bass Boost and all the music is free.
Więcej informacji o liście dyskusyjnej pld-devel-pl