diff options
Diffstat (limited to 'mm/swapfile.c')
-rw-r--r-- | mm/swapfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/swapfile.c b/mm/swapfile.c index fb926efb5167..ddc6d92be2cb 100644 --- a/mm/swapfile.c +++ b/mm/swapfile.c | |||
@@ -695,7 +695,7 @@ static int unuse_pte(struct vm_area_struct *vma, pmd_t *pmd, | |||
695 | pte_t *pte; | 695 | pte_t *pte; |
696 | int ret = 1; | 696 | int ret = 1; |
697 | 697 | ||
698 | if (mem_cgroup_try_charge(vma->vm_mm, GFP_KERNEL, &ptr)) | 698 | if (mem_cgroup_try_charge(vma->vm_mm, GFP_HIGHUSER_MOVABLE, &ptr)) |
699 | ret = -ENOMEM; | 699 | ret = -ENOMEM; |
700 | 700 | ||
701 | pte = pte_offset_map_lock(vma->vm_mm, pmd, addr, &ptl); | 701 | pte = pte_offset_map_lock(vma->vm_mm, pmd, addr, &ptl); |