public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] discontig.c
@ 2004-06-10 15:23 Robert Picco
  2004-06-10 18:10 ` David Mosberger
  2004-06-10 20:00 ` Jesse Barnes
  0 siblings, 2 replies; 3+ messages in thread
From: Robert Picco @ 2004-06-10 15:23 UTC (permalink / raw)
  To: linux-ia64

Hi David and Andrew:

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.

thanks,

Bob

diff -ruN -X /home/picco/losl/dontdiff linux-2.6.7-rc3-m1.orig/arch/ia64/mm/discontig.c linux-2.6.7-rc3-m1.hpet/arch/ia64/mm/discontig.c
--- linux-2.6.7-rc3-m1.orig/arch/ia64/mm/discontig.c	2004-06-07 15:14:58.000000000 -0400
+++ linux-2.6.7-rc3-m1.hpet/arch/ia64/mm/discontig.c	2004-06-09 18:44:02.000000000 -0400
@@ -154,6 +154,9 @@
 
 	memcpy(numa_slit, numa_slit_fix, sizeof (numa_slit));
 
+	for (i = nnode; i < numnodes; i++)
+		node_set_offline(i);
+
 	numnodes = nnode;
 
 	return;




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-06-10 20:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-10 15:23 [PATCH] discontig.c Robert Picco
2004-06-10 18:10 ` David Mosberger
2004-06-10 20:00 ` Jesse Barnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox