Thread (5 messages) flat view 5 messages, 3 authors, 2011-05-12

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

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2011-05-05 22:29:31

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
                        use hotplug cpu feature to put more cpu back to online.
                        just like you compile the kernel NR_CPUS=n

Which makes me think we should have max_cpus be an absolute limit.
Ok, looks like I've been confusing nr_cpus= vs. max_cpus= or something
like that.

I'll have a look at your patch later today.

Cheers,
Ben.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help