Memoryless Nodes: No need for kswapd A node without memory does not need a kswapd. So use the memory map instead of the online map when starting kswapd. Signed-off-by: Christoph Lameter Acked-by: Nishanth Aravamudan --- mm/vmscan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6.22-rc6-mm1/mm/vmscan.c =================================================================== --- linux-2.6.22-rc6-mm1.orig/mm/vmscan.c 2007-07-11 11:59:04.000000000 -0700 +++ linux-2.6.22-rc6-mm1/mm/vmscan.c 2007-07-11 12:00:01.000000000 -0700 @@ -1730,7 +1730,7 @@ static int __init kswapd_init(void) int nid; swap_setup(); - for_each_online_node(nid) + for_each_node_state(nid, N_MEMORY) kswapd_run(nid); hotcpu_notifier(cpu_callback, 0); return 0;