Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0bbd8092 authored by Liam Mark's avatar Liam Mark
Browse files

mm: Allow only __GFP_OFFLINABLE allocations from Movable zone



Ensure that only allocations which include __GFP_OFFLINABLE can be
satisfied from zone Movable. This restriction helps reduces the
likelihood of a page in the movable zone being pinned which would prevent
memory from being offlined.

In the past we allowed all __GFP_CMA allocations to be satisfied from
Movable zone but now add support to differentiate between __GFP_CMA
allocations and __GFP_OFFLINABLE allocations so that we can target certain
allocations at CMA regions and certain allocations at the Movable zone.

Change-Id: If2a9381b6d677f825ad53af9cd64f206d41da211
Signed-off-by: default avatarLiam Mark <lmark@codeaurora.org>
parent bbc7f2d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment