]> git.karo-electronics.de Git - karo-tx-linux.git/commit
page_alloc: bootmem limit with movablecore_map
authorTang Chen <tangchen@cn.fujitsu.com>
Thu, 7 Feb 2013 01:26:38 +0000 (12:26 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Feb 2013 05:46:33 +0000 (16:46 +1100)
commit47dfdfd454c42807c7edf4514be7bd7d8f79620c
treedada7e99a1caee34e448ed05d19ddff4d7b532fe
parente5aedcc43d9dd008c37217f16da4153028e087f1
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