Merge "mm: allocate swapin pages from movable zone"
This commit is contained in:
commit
8c06c7547e
1 changed files with 2 additions and 2 deletions
|
@ -3145,8 +3145,8 @@ vm_fault_t do_swap_page(struct vm_fault *vmf)
|
||||||
|
|
||||||
if (!page) {
|
if (!page) {
|
||||||
if (skip_swapcache) {
|
if (skip_swapcache) {
|
||||||
page = alloc_page_vma(GFP_HIGHUSER_MOVABLE, vma,
|
page = alloc_page_vma(GFP_HIGHUSER_MOVABLE | __GFP_CMA,
|
||||||
vmf->address);
|
vma, vmf->address);
|
||||||
if (page) {
|
if (page) {
|
||||||
__SetPageLocked(page);
|
__SetPageLocked(page);
|
||||||
__SetPageSwapBacked(page);
|
__SetPageSwapBacked(page);
|
||||||
|
|
Loading…
Reference in a new issue