diff options
author | Nathan Lynch <nathanl@austin.ibm.com> | 2006-03-20 18:36:45 -0600 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-03-22 15:04:01 +1100 |
commit | 482ec7c403d239bb4f1732faf9a14988094ce08b (patch) | |
tree | 9abc78e92b304e5ee09428db0cb8922cc86aa213 /drivers | |
parent | bc16a75926941094db6b42d76014abb5e8d3a910 (diff) |
[PATCH] powerpc numa: Support sparse online node map
The powerpc numa code unconditionally onlines all nodes from 0 to the
highest node id found, regardless of whether cpus or memory are
present in the nodes. This wastes 8K per node and complicates some
cpu and memory hotplug situations, such as adding a resource that
doesn't map to one of the nodes discovered at boot.
Set nodes online as resources are scanned. Fall back to node 0 only
when we're sure this isn't a NUMA machine.
Instead of defaulting to node 0 for cases of hot-adding a resource
which doesn't belong to any initialized node, assign it to the first
online node.
Signed-off-by: Nathan Lynch <nathanl@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions