bootmem: fix slab fallback on numa
authorPekka Enberg <penberg@cs.helsinki.fi>
Thu, 11 Jun 2009 05:10:28 +0000 (08:10 +0300)
committerPekka Enberg <penberg@cs.helsinki.fi>
Thu, 11 Jun 2009 16:15:54 +0000 (19:15 +0300)
commitc91c4773b334d4d3a6d44626dc2a558ad97b86f3
tree7703e307ec9b33577365130dc0e8665333ea1487
parent441c7e0a2ed38827b48b907bd1fa29faba2017a3
bootmem: fix slab fallback on numa

If the user requested bootmem allocation on a specific node, we should use
kzalloc_node() for the fallback allocation.

Cc: Ingo Molnar <mingo@elte.hu>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
mm/bootmem.c