SOURCES: irqbalance.init - use functions - add chkconfig - actuall...

Paweł Gołaszewski blues at pld-linux.org
Wed Dec 13 20:35:44 CET 2006


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.
-------------- next part --------------
_______________________________________________
pld-devel-pl mailing list
pld-devel-pl at lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl


More information about the pld-devel-en mailing list