Re: [RFC][PATCH] powerpc: respect how command line nr_cpus is set

2011-05-05 Thread Benjamin Herrenschmidt
> From Documentation/kernel-parameters.txt: > > nr_cpus=[SMP] Maximum number of processors that an SMP kernel > could support. nr_cpus=n : n >= 1 limits the kernel > to > supporting 'n' processors. Later in runtime you can > not >

Re: [RFC][PATCH] powerpc: respect how command line nr_cpus is set

2011-05-05 Thread Kumar Gala
On May 4, 2011, at 9:25 PM, Benjamin Herrenschmidt wrote: > On Wed, 2011-05-04 at 15:17 -0500, Kumar Gala wrote: >> We should utilize nr_cpus as the max # of CPUs that we can have present >> instead of NR_CPUS. This way we actually respect how nr_cpus is set on >> the command line rather than ig

Re: [RFC][PATCH] powerpc: respect how command line nr_cpus is set

2011-05-04 Thread Benjamin Herrenschmidt
On Wed, 2011-05-04 at 15:17 -0500, Kumar Gala wrote: > We should utilize nr_cpus as the max # of CPUs that we can have present > instead of NR_CPUS. This way we actually respect how nr_cpus is set on > the command line rather than ignoring it. > > Signed-off-by: Kumar Gala > --- > I think this i