Commit 0c5cadc9 authored by Robert Picco's avatar Robert Picco Committed by David Mosberger

[PATCH] ia64: mark non-existent NUMA-nodes as offline

I found a problem with HP NUMA configuration in 2.6.7-rc3-mm1.  The
node_online_map is incorrect because of actions taken by
reassign_cpu_only_nodes in arch/ia64/mm/discontig.c.  The mm1 patch
which changes the mempolicy for the init_task uses this invalid
node_online_map and eventually uses a non-existent node's zonelist
when calling __alloc_pages.

The patch below takes care of this issue.  It puts the non-existent
nodes offline.
Signed-off-by: default avatarDavid Mosberger <davidm@hpl.hp.com>
parent 549dc914
......@@ -154,6 +154,9 @@ static void __init reassign_cpu_only_nodes(void)
memcpy(numa_slit, numa_slit_fix, sizeof (numa_slit));
for (i = nnode; i < numnodes; i++)
node_set_offline(i);
numnodes = nnode;
return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment