diff options
author | Xishi Qiu | 2015-11-06 03:48:56 +0100 |
---|---|---|
committer | Linus Torvalds | 2015-11-06 04:34:48 +0100 |
commit | bde304bdf4ec4a5f58cc1e90fe2d9cd2d96304c4 (patch) | |
tree | d9adda3338bf50c3ce47b1d884689e0d3db848e1 /mm/memcontrol.c | |
parent | mm/vmacache: inline vmacache_valid_mm() (diff) | |
download | kernel-qcow2-linux-bde304bdf4ec4a5f58cc1e90fe2d9cd2d96304c4.tar.gz kernel-qcow2-linux-bde304bdf4ec4a5f58cc1e90fe2d9cd2d96304c4.tar.xz kernel-qcow2-linux-bde304bdf4ec4a5f58cc1e90fe2d9cd2d96304c4.zip |
mm/page_alloc.c: skip ZONE_MOVABLE if required_kernelcore is larger than totalpages
If kernelcore was not specified, or the kernelcore size is zero
(required_movablecore >= totalpages), or the kernelcore size is larger
than totalpages, there is no ZONE_MOVABLE. We should fill the zone with
both kernel memory and movable memory.
Signed-off-by: Xishi Qiu <qiuxishi@huawei.com>
Reviewed-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: David Rientjes <rientjes@google.com>
Cc: Tang Chen <tangchen@cn.fujitsu.com>
Cc: <zhongjiang@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions