Re: [RFC PATCH 1/5] use nr_cpus= to set nr_cpu_ids early

From: Christoph Lameter
Date: Tue Jan 12 2010 - 14:38:43 EST



On Tue, 12 Jan 2010, Yinghai Lu wrote:

> on x86, before prefill_possible_map(), nr_cpu_ids will be NR_CPUS aka CONFIG_NR_CPUS
>
> add nr_cpus= to set nr_cpu_ids. so we can simulate cpus <=8 on normal config.
> instead of change NR_CPUS directly.

We already have

maxcpus=x?

Why do we need this twice?

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