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

Skip to content
Commit f0f0c4ff authored by Charan Teja Reddy's avatar Charan Teja Reddy Committed by Gerrit - the friendly Code Review server
Browse files

mm: allocate swapin pages from movable zone



We allow pages to movable zone only when __GFP_CMA is set along with
other required flags. When an anon page first allocated will
go to the movable zone but when the same is swapped out and then swapin
is not allowed to go. Fix it.

Fixes: 0157fbd79dbe ("mm: Allow only __GFP_CMA allocations from Movable zone")
Change-Id: I746299259a91819499e948ca34fe8880c8eaa175
[guptap@codeaurora.org: Fixed minor merge conflicts]
Signed-off-by: default avatarCharan Teja Reddy <charante@codeaurora.org>
parent 6e625d33
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