ANDROID: mm: add cma pcp list
Add a PCP list for __GFP_CMA allocations so as not to deprive
MIGRATE_MOVABLE allocations quick access to pages on their PCP
lists.
[ACK6.6 port notes]:
Include fixes from following ACK 6.1 commits.
commit 718da042 ("ANDROID: retry page allocation from buddy on lock contention")
commit 7641ff0a ("ANDROID: mm: Avoid merging cma with others")
commit fca353bd ("ANDROID: mm: freeing MIGRATE_ISOLATE page instantly")
Also, use a conditional, cma_has_pcplist() to determine if the CMA PCP
list should be used. By default this is false and no PCP list will be
created for CMA.
Bug: 330201547
Change-Id: I9831eed113ec9e851b4f651755205ac9cf23b9be
Signed-off-by:
Liam Mark <lmark@codeaurora.org>
Signed-off-by:
Chris Goldsworthy <cgoldswo@codeaurora.org>
[isaacm@codeaurora.org: Resolve merge conflicts related to new mm
features]
Signed-off-by:
Isaac J. Manjarres <isaacm@quicinc.com>
Signed-off-by:
Sukadev Bhattiprolu <quic_sukadev@quicinc.com>
Loading
Please sign in to comment