The patch titled Move setup of N_CPU node state mask has been added to the -mm tree. Its filename is memoryless-nodes-add-n_cpu-node-state-move-setup-of-n_cpu-node-state-mask.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: Move setup of N_CPU node state mask From: Lee Schermerhorn <Lee.Schermerhorn@xxxxxx> Move recording of nodes w/ cpus to before zone loop. Otherwise, error exit could skip setup of N_CPU mask. Signed-off-by: Lee Schermerhorn <lee.schermerhorn@xxxxxx> Cc: Christoph Lameter <clameter@xxxxxxx> Cc: Bob Picco <bob.picco@xxxxxx> Cc: Nishanth Aravamudan <nacc@xxxxxxxxxx> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> Cc: Mel Gorman <mel@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/page_alloc.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -puN mm/page_alloc.c~memoryless-nodes-add-n_cpu-node-state-move-setup-of-n_cpu-node-state-mask mm/page_alloc.c --- a/mm/page_alloc.c~memoryless-nodes-add-n_cpu-node-state-move-setup-of-n_cpu-node-state-mask +++ a/mm/page_alloc.c @@ -2367,6 +2367,8 @@ static int __cpuinit process_zones(int c struct zone *zone, *dzone; int node = cpu_to_node(cpu); + node_set_state(node, N_CPU); /* this node has a cpu */ + for_each_zone(zone) { if (!populated_zone(zone)) @@ -2384,7 +2386,6 @@ static int __cpuinit process_zones(int c (zone->present_pages / percpu_pagelist_fraction)); } - node_set_state(node, N_CPU); return 0; bad: for_each_zone(dzone) { _ Patches currently in -mm which might be from Lee.Schermerhorn@xxxxxx are origin.patch memoryless-nodes-generic-management-of-nodemasks-for-various-purposes-fix.patch memoryless-nodes-introduce-mask-of-nodes-with-memory.patch memoryless-nodes-introduce-mask-of-nodes-with-memory-fix.patch memoryless-nodes-add-n_cpu-node-state-move-setup-of-n_cpu-node-state-mask.patch memoryless-nodes-fixup-uses-of-node_online_map-in-generic-code.patch memoryless-nodes-fixup-uses-of-node_online_map-in-generic-code-fix.patch memoryless-nodes-fixup-uses-of-node_online_map-in-generic-code-prefetch.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html