SOURCES: irqbalance.init - use functions - add chkconfig - actuall...
glen at delfi.ee
Wed Dec 13 21:48:01 CET 2006
On Wednesday 13 December 2006 21:35, Paweł Gołaszewski wrote:
> 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
> 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 ).
not my change :)
i just moved it earlier (to skip heavy init.d/functions if the script will
exit as the next thing)
on the topic, how you check if kernel is smp? matcing smp from `uname -r` ?
More information about the pld-devel-en