Revert "mm/swapfile: skip HugeTLB pages for unuse_vma"
This reverts commit e8eb8b10a3
.
This commit is contained in:
parent
bfa37c9cf0
commit
beeee29a16
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue