linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Kumar Gala <galak@kernel.crashing.org>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [RFC][PATCH] powerpc: respect how command line nr_cpus is set
Date: Fri, 06 May 2011 08:29:23 +1000	[thread overview]
Message-ID: <1304634563.2513.453.camel@pasglop> (raw)
In-Reply-To: <B122211D-FA1E-4B0D-8399-6EC4F701FCDF@kernel.crashing.org>


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

  reply	other threads:[~2011-05-05 22:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-04 20:17 [RFC][PATCH] powerpc: respect how command line nr_cpus is set Kumar Gala
2011-05-05  2:25 ` Benjamin Herrenschmidt
2011-05-05 11:38   ` Kumar Gala
2011-05-05 22:29     ` Benjamin Herrenschmidt [this message]
2011-05-12  0:26 ` [RFC] " Milton Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1304634563.2513.453.camel@pasglop \
    --to=benh@kernel.crashing.org \
    --cc=galak@kernel.crashing.org \
    --cc=linuxppc-dev@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).