commit | fc2bd799c7c79c84a59da6f9221370bc6f38c503 | [log] [tgz] |
---|---|---|
author | Joonsoo Kim <[email protected]> | Thu May 19 17:12:23 2016 -0700 |
committer | Linus Torvalds <[email protected]> | Thu May 19 19:12:14 2016 -0700 |
tree | 3d8748cfc8b678b699d4f3d2649b85ec62dc1d7c | |
parent | 09b4ab3c433733127f8644290e94548a4cb8122f [diff] |
mm/page_alloc: correct highmem memory statistics ZONE_MOVABLE could be treated as highmem so we need to consider it for accurate statistics. And, in following patches, ZONE_CMA will be introduced and it can be treated as highmem, too. So, instead of manually adding stat of ZONE_MOVABLE, looping all zones and check whether the zone is highmem or not and add stat of the zone which can be treated as highmem. Signed-off-by: Joonsoo Kim <[email protected]> Reviewed-by: Aneesh Kumar K.V <[email protected]> Cc: Rik van Riel <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: Mel Gorman <[email protected]> Cc: Laura Abbott <[email protected]> Cc: Minchan Kim <[email protected]> Cc: Marek Szyprowski <[email protected]> Cc: Michal Nazarewicz <[email protected]> Cc: Vlastimil Babka <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>