commit | fdb7cc59084ba7eef935e4e40aaaf538ee34c625 | [log] [tgz] |
---|---|---|
author | Paul Jackson <pj@sgi.com> | Wed Mar 22 00:09:10 2006 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Wed Mar 22 07:54:06 2006 -0800 |
tree | d31bd847f2d9ea3f5b2a632c718b53797172af88 | |
parent | 9b65ef59d42a56fa1358958ede77aaa5bac385a8 [diff] |
[PATCH] mm: hugetlb alloc_fresh_huge_page bogus node loop fix Fix bogus node loop in hugetlb.c alloc_fresh_huge_page(), which was assuming that nodes are numbered contiguously from 0 to num_online_nodes(). Once the hotplug folks get this far, that will be false. Signed-off-by: Paul Jackson <pj@sgi.com> Acked-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>