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

Daniel Mróz beorn w alpha.pl
Śro, 13 Gru 2006, 21:25:13 CET


Dnia Wed, 13 Dec 2006 21:14:39 +0100 (CET)
Andrzej Krzysztofowicz <ankry w green.mif.pg.gda.pl> napisał(a):
> > > +if [ "$(LC_ALL=C grep "^processor.*:.*[0-9]" /proc/cpuinfo | wc
> > > -l)" -lt 2 ]; then
> > > +	exit 0
> > The test should only check if kernel is SMP.
> > CPU alone can be hotpluged and you can start with only one.
> Does Linux support CPU hotplug?
It runs a software emulation if one of CPU's is missing ;>
CPU can be removed before machine startup. The test above will
detect such case as uni-processor hardware, which is incorrect.


Pozdrawiam
Beorn

-- 
Daniel 'Beorn' Mróz <beorn w alpha.pl>    http://127.0.0.1/beorn
[GIT d s:- a-@ C++++ UL++++$ P+ L++++ E--- W+ N+++ o? K- w---]
[O- M- V!  PS+ PE++ Y+ PGP++ t- 5  X R !tv b+ DI D++ G++ e h*]
[                          r(-) y+                           ]


Więcej informacji o liście dyskusyjnej pld-devel-pl