===== mm/page_alloc.c 1.239 vs edited ===== --- 1.239/mm/page_alloc.c 2004-10-25 13:06:48 -07:00 +++ edited/mm/page_alloc.c 2004-11-04 09:41:23 -08:00 @@ -1213,6 +1213,12 @@ if (test_bit(n, used_node_mask)) continue; + /* Use the local node if we haven't already */ + if (!test_bit(node, used_node_mask)) { + best_node = node; + break; + } + /* Use the distance array to find the distance */ val = node_distance(node, n);