Re: [PATCH] add command line init_start_cpus

From: Yinghai Lu
Date: Sun Dec 14 2008 - 22:40:01 EST


On Sun, Dec 14, 2008 at 4:11 PM, Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:
> Yinghai Lu <yinghai@xxxxxxxxxx> writes:
>
>> Impact: new command line
>>
>> so could select cpus to be started during init stage
>
> maxcpus=N should do this already, at least for the first N cpus.
> If you really need a non continuous range of N (why?) then it would
> be better to fix maxcpus instead of adding a new option.

it seems it is hard to make maxcpus= to support random cpus selecting and
maxcpus=0 looks insane

also maxcpus=1, will disable smp, can you enable other cpus later in user space?

YH
--
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/