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:
Charan Teja Reddy <charante@codeaurora.org>
Loading
Please register or sign in to comment