[PATCH] Handle holes in node mask in node fallback list setup
authorLinus Torvalds <torvalds@osdl.org>
Fri, 17 Feb 2006 19:38:21 +0000 (20:38 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 17 Feb 2006 21:27:06 +0000 (13:27 -0800)
commit4cf808eb443ead42777a0230b73aec0cee7fb298
tree2d6dac429fcfcf18c9837c8c34164eff03e46fec
parentcfe91f9ce297e23e6fbdf61c02bdd8ab9af7c8a8
[PATCH] Handle holes in node mask in node fallback list setup

Change the find_next_best_node algorithm to correctly skip
over holes in the node online mask. Previously it would not handle
missing nodes correctly and cause crashes at boot.

[Written by Linus, tested by AK]

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/page_alloc.c