page_alloc: bootmem limit with movablecore_map
authorTang Chen <[email protected]>
Sat, 23 Feb 2013 00:33:42 +0000 (16:33 -0800)
committerLinus Torvalds <[email protected]>
Sun, 24 Feb 2013 01:50:14 +0000 (17:50 -0800)
commitfb06bc8e5f42f38c011de0e59481f464a82380f6
treeac55622da0b397e57cdb426f634441939187f99d
parent42f47e27e761fee07da69e04612ec7dd0d490edd
page_alloc: bootmem limit with movablecore_map

Ensure the bootmem will not allocate memory from areas that may be
ZONE_MOVABLE.  The map info is from movablecore_map boot option.

Signed-off-by: Tang Chen <[email protected]>
Reviewed-by: Wen Congyang <[email protected]>
Reviewed-by: Lai Jiangshan <[email protected]>
Tested-by: Lin Feng <[email protected]>
Cc: Wu Jianguo <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/memblock.h
mm/memblock.c