From: Johannes Weiner Date: Tue, 29 May 2012 22:06:34 +0000 (-0700) Subject: mm: bootmem: allocate in order node+goal, goal, node, anywhere X-Git-Tag: v3.5-rc1~49^2~140 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab3818432294a19ad793a0965d89867b4ce6255b;p=pandora-kernel.git mm: bootmem: allocate in order node+goal, goal, node, anywhere Match the nobootmem version of __alloc_bootmem_node. Try to satisfy both the node and the goal, then just the goal, then just the node, then allocate anywhere before panicking. Signed-off-by: Johannes Weiner Acked-by: Tejun Heo Acked-by: David S. Miller Cc: Yinghai Lu Cc: Gavin Shan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed