Re: [patch x86/core] x86: allow number of additional hotplug CPUsto be set at compile time, V2

From: Ingo Molnar
Date: Thu Oct 02 2008 - 15:51:12 EST



* H. Peter Anvin <hpa@xxxxxxxxx> wrote:

> Ingo Molnar wrote:
>>>
>>> The default number of additional CPU IDs for hotplugging is
>>> determined by asking ACPI or mptables how many "disabled" CPUs there
>>> are in the system, but many systems get this wrong so that e.g. a
>>> uniprocessor machine gets an extra CPU allocated and never switches
>>> to single CPU mode.
>>>
>>> And sometimes CPU hotplugging is enabled only for suspend/hibernate
>>> anyway, so the additional CPU IDs are not wanted. Allow the number to
>>> be set to zero at compile time.
>>>
>
> Wouldn't this be better to have a runtime option?

yeah - and we already have the additional_cpus=x boot option, but a boot
option is not generally useful to a distribution.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/