Commit f973fab6 authored by Larry Bassel's avatar Larry Bassel
Browse files

arm: ensure enough memory is available for movable zone



If CONFIG_HIGHMEM is enabled, the memory from the movable
zone will come from highmem as the zone of highest
address present is converted to ZONE_MOVABLE, and only
one zone may be used for ZONE_MOVABLE.

Ensure that ZONE_HIGHMEM is large enough for the
movable zone's required size to be created from
it if CONFIG_FIX_MOVABLE_ZONE is enabled as well.

There needs to be a small ZONE_HIGHMEM even after
memory hotremove (due to a generic 3.0 bug), so
extra is reserved for now.

Change-Id: I285c6ad24a6f2f18fc9e6510d379b126f201b082
Signed-off-by: default avatarLarry Bassel <lbassel@codeaurora.org>
parent 6eae21af
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment