lkml.org 
[lkml]   [2008]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2008-10-02 21:53    [W:0.050 / U:1.796 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site