diff --git a/mm/swapfile.c b/mm/swapfile.c index e3d1662b8..62c95b719 100755 --- a/mm/swapfile.c +++ b/mm/swapfile.c @@ -2158,7 +2158,7 @@ static int unuse_mm(struct mm_struct *mm, unsigned int type, mmap_read_lock(mm); for (vma = mm->mmap; vma; vma = vma->vm_next) { - if (vma->anon_vma && !is_vm_hugetlb_page(vma)) { + if (vma->anon_vma) { ret = unuse_vma(vma, type, frontswap, fs_pages_to_unuse); if (ret)