From: Andy Whitcroft Date: Tue, 20 May 2008 10:01:19 +0000 (+0100) Subject: x86: cope with no remap space being allocated for a numa node X-Git-Tag: v2.6.27-rc1~1106^2~258 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84d6bd0e272e6eace1e7e4c501f32bddfb665bb2;p=pandora-kernel.git x86: cope with no remap space being allocated for a numa node When allocating the pgdat's for numa nodes on x86_32 we attempt to place them in the numa remap space for that node. However should the node not have any remap space allocated (such as due to having non-ram pages in the remap location in the node) then we will incorrectly place the pgdat at zero. Check we have remap available, falling back to node 0 memory where we do not. Signed-off-by: Andy Whitcroft Acked-by: Mel Gorman Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed