From: Christoph Lameter Date: Tue, 16 Oct 2007 08:25:33 +0000 (-0700) Subject: Memoryless nodes: SLUB support X-Git-Tag: v2.6.24-rc1~1157 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f64dc58c5412233d4d44b0275eaebdc11bde23b3;p=pandora-kernel.git Memoryless nodes: SLUB support Simply switch all for_each_online_node to for_each_node_state(NORMAL_MEMORY). That way SLUB only operates on nodes with regular memory. Any allocation attempt on a memoryless node or a node with just highmem will fall whereupon SLUB will fetch memory from a nearby node (depending on how memory policies and cpuset describe fallback). Signed-off-by: Christoph Lameter Tested-by: Lee Schermerhorn Acked-by: Bob Picco Cc: Nishanth Aravamudan Cc: KAMEZAWA Hiroyuki Cc: Mel Gorman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed