[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1206535469.7468.9.camel@localhost.localdomain>
Date: Wed, 26 Mar 2008 08:44:28 -0400
From: Daniel Yeisley <dan.yeisley@...sys.com>
To: linux-kernel@...r.kernel.org
Cc: ak@...e.de
Subject: [PATCH] CPUs on memoryless nodes not being reassigned
When I boot with memoryless nodes on the latest 2.6.25-rc kernels, the
CPUs aren't being reassigned to nodes with memory.
Signed-off-by: Dan Yeisley <dan.yeisley@...sys.com>
---
diff -Nuar linux-2.6.25-rc6/arch/x86/kernel/setup_64.c linux-2.6.25-rc6-new/arch/x86/kernel/setup_64.c
--- linux-2.6.25-rc6/arch/x86/kernel/setup_64.c 2008-03-16 19:32:14.000000000 -0400
+++ linux-2.6.25-rc6-new/arch/x86/kernel/setup_64.c 2008-03-25 09:52:15.000000000 -0400
@@ -801,7 +801,7 @@
/* Don't do the funky fallback heuristics the AMD version employs
for now. */
node = apicid_to_node[apicid];
- if (node == NUMA_NO_NODE)
+ if (node == NUMA_NO_NODE || !node_online(node))
node = first_node(node_online_map);
numa_set_node(cpu, node);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists