commit | bde304bdf4ec4a5f58cc1e90fe2d9cd2d96304c4 | [log] [tgz] |
---|---|---|
author | Xishi Qiu <[email protected]> | Thu Nov 05 18:48:56 2015 -0800 |
committer | Linus Torvalds <[email protected]> | Thu Nov 05 19:34:48 2015 -0800 |
tree | d9adda3338bf50c3ce47b1d884689e0d3db848e1 | |
parent | a2c1aad3b5fccbb948878b75f9b8f13248666fd6 [diff] |
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 <[email protected]> Reviewed-by: Yasuaki Ishimatsu <[email protected]> Cc: Mel Gorman <[email protected]> Cc: David Rientjes <[email protected]> Cc: Tang Chen <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>