[PATCH] ppc64: Set memory-only nodes online

Olof Johansson olof at austin.ibm.com
Wed Apr 28 04:48:40 EST 2004


On pSeries LPARs we might end up with NUMA nodes that only have memory and
no CPUs. Only the CPU configuration code actually set a node online, so
memory-only nodes wouldn't show up in sysfs. Below patch adds the
set_online call to the memory loop too.


===== arch/ppc64/mm/numa.c 1.24 vs edited =====
--- 1.24/arch/ppc64/mm/numa.c	Mon Apr 12 12:54:46 2004
+++ edited/arch/ppc64/mm/numa.c	Mon Apr 26 22:51:55 2004
@@ -184,6 +184,8 @@
 		if (numa_domain >= MAX_NUMNODES)

+		node_set_online(numa_domain);
 		if (max_domain < numa_domain)
 			max_domain = numa_domain;

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/

More information about the Linuxppc64-dev mailing list