lkml.org 
[lkml]   [2010]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 1/2] x86: add numa=possible command line option
On Sun, 21 Nov 2010, Américo Wang wrote:

> I am not sure how much value of making this dynamic,
> for CPU, we do this at compile time, i.e. NR_CPUS,
> so how about NR_NODES?
>

This is outside the scope of node hotplug emulation, it needs to be built
on top of whatever the kernel implements.

> Also, numa=possible= is not as clear as numa=max=, for me at least.
>

I like name, but it requires that you know how many nodes that system
already has. In other words, numa=possible=4 allows you to specify that 4
additional nodes will be possible, but initially offline, for this or
other purposes. numa=max=4 would be no-op if the system actually had 4
nodes.

I chose numa=possible over numa=additional because it is more clearly tied
to node_possible_map, which is the only thing it modifies.
\
 
 \ /
  Last update: 2010-11-21 22:49    [W:0.195 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site