online, possible and disabled cpus

Srivatsa Bhat bhat.srivatsa at gmail.com
Tue Oct 23 04:49:01 EDT 2012


On Tue, Oct 23, 2012 at 2:04 PM, Robert P. J. Day <rpjday at crashcourse.ca> wrote:
> 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
> ...

Documentation not keeping up with the code is an eternal issue :)

Regards,
Srivatsa S. Bhat



More information about the Kernelnewbies mailing list