mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
Merge "mm: allocate swapin pages from movable zone"
This commit is contained in:
commit
92256f55c6
1 changed files with 2 additions and 2 deletions
|
|
@ -2986,8 +2986,8 @@ vm_fault_t do_swap_page(struct vm_fault *vmf)
|
|||
if (si->flags & SWP_SYNCHRONOUS_IO &&
|
||||
__swap_count(entry) == 1) {
|
||||
/* skip swapcache */
|
||||
page = alloc_page_vma(GFP_HIGHUSER_MOVABLE, vma,
|
||||
vmf->address);
|
||||
page = alloc_page_vma(GFP_HIGHUSER_MOVABLE | __GFP_CMA,
|
||||
vma, vmf->address);
|
||||
if (page) {
|
||||
__SetPageLocked(page);
|
||||
__SetPageSwapBacked(page);
|
||||
|
|
|
|||
Loading…
Reference in a new issue