Messages in this thread | | | Date | Thu, 2 Oct 2008 21:50:48 +0200 | From | Ingo Molnar <> | Subject | Re: [patch x86/core] x86: allow number of additional hotplug CPUs to be set at compile time, V2 |
| |
* H. Peter Anvin <hpa@zytor.com> 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
| |