Commit 9422ffba authored by Christoph Lameter's avatar Christoph Lameter Committed by Linus Torvalds
Browse files

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: default avatarChristoph Lameter <>
Acked-by: default avatarNishanth Aravamudan <>
Tested-by: default avatarLee Schermerhorn <>
Acked-by: default avatarBob Picco <>
Cc: KAMEZAWA Hiroyuki <>
Cc: Mel Gorman <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent ee31af5d
......@@ -1733,7 +1733,7 @@ static int __init kswapd_init(void)
int nid;
for_each_node_state(nid, N_HIGH_MEMORY)
hotcpu_notifier(cpu_callback, 0);
return 0;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment