]> git.karo-electronics.de Git - karo-tx-linux.git/commit
page_alloc: bootmem limit with movablecore_map
authorTang Chen <tangchen@cn.fujitsu.com>
Wed, 20 Feb 2013 02:14:27 +0000 (13:14 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:52:37 +0000 (16:52 +1100)
commite1bf00a27cba3b870e97456c9c7a13a397f201b3
tree0bf4b33a26d8a683db32a58e637395dfbb352600
parent2ffd556e826d15ce3862525fa8925f6d0f55ebbd
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 <tangchen@cn.fujitsu.com>
Reviewed-by: Wen Congyang <wency@cn.fujitsu.com>
Reviewed-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Tested-by: Lin Feng <linfeng@cn.fujitsu.com>
Cc: Wu Jianguo <wujianguo@huawei.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/memblock.h
mm/memblock.c