mm: introduce non panic alloc_bootmem
authorAndi Kleen <ak@suse.de>
Thu, 24 Jul 2008 04:27:45 +0000 (21:27 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:17 +0000 (10:47 -0700)
commitb54bbf7b81170f03597c17dd0b559e3006bc9868
treeabc6b326e293d3a685d943956d32ab4038a90e1f
parent5ced66c901f1cf0b684feb15c2cd8b126e263d07
mm: introduce non panic alloc_bootmem

Straight forward variant of the existing __alloc_bootmem_node, only
subsequent patch when allocating giant hugepages at boot -- don't want to
panic if we can't allocate as many as the user asked for.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/bootmem.h
mm/bootmem.c