[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070508210408.50cafc47.kamezawa.hiroyu@jp.fujitsu.com>
Date: Tue, 8 May 2007 21:04:08 +0900
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
To: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
Cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org,
Lee.Schermerhorn@...com, clameter@....com,
akpm@...ux-foundation.org, ak@...e.de, jbarnes@...tuousgeek.org
Subject: Re: [PATCH] change zonelist order v5 [4/3] compile fix.....
I'm very sorry for missing this fix for non-NUMA arch...
I'll repost the whole set if necessary....
-Kame
Compile-fix...
Signed-Off-By: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
Index: linux-2.6.21-mm1/mm/page_alloc.c
===================================================================
--- linux-2.6.21-mm1.orig/mm/page_alloc.c
+++ linux-2.6.21-mm1/mm/page_alloc.c
@@ -2321,6 +2321,7 @@ static void build_zonelists(pg_data_t *p
prev_node = local_node;
nodes_clear(used_mask);
+ memset(node_load, 0, sizeof(node_load));
memset(node_order, 0, sizeof(node_order));
j = 0;
@@ -2455,7 +2456,6 @@ void build_all_zonelists(void)
__build_all_zonelists(&order);
cpuset_init_current_mems_allowed();
} else {
- memset(node_load, 0, sizeof(node_load));
/* we have to stop all cpus to guaranntee there is no user
of zonelist */
stop_machine_run(__build_all_zonelists, &order, NR_CPUS);
-
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