online, possible and disabled cpus

Robert P. J. Day rpjday at crashcourse.ca
Tue Oct 23 04:34:52 EDT 2012


On Tue, 23 Oct 2012, Srivatsa Bhat wrote:

> Hi,
>
> On Tue, Oct 23, 2012 at 12:43 AM, Robert P. J. Day
> <rpjday at crashcourse.ca> wrote:
> > On Mon, 22 Oct 2012, Srivatsa Bhat wrote:
> >
> >> Hi,
> >>
> >> You might want to take a look at Documentation/cpu-hotplug.txt for
> >> some details regarding online/possible CPUs...
> >
> >   ah, quite so, although that file is definitely out of date.  it
> > doesn't mention the command-line parameters "nosmp" or "nr_cpus="
> > which are defined in kernel/smp.c.  more in a bit ...
>
> I believe you'll find them in Documentation/kernel-parameters.txt.
> Of course, it would be good to have them documented or at least
> mentioned in the above file (cpu-hotplug.txt) as well..

  while it's useful, the kernel-parameters.txt file is notoriously
behind the times.  in this case, it does mention "nosmp" and "nr_cpus"
but doesn't mention the X86-only "possible_cpus" parameter.  oh, well
...

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



More information about the Kernelnewbies mailing list