diff options
-rw-r--r-- | mm/khugepaged.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/mm/khugepaged.c b/mm/khugepaged.c index 276ac0099e19..a03569eda183 100644 --- a/mm/khugepaged.c +++ b/mm/khugepaged.c @@ -1271,10 +1271,6 @@ static int khugepaged_scan_pmd(struct mm_struct *mm, goto out_unmap; } } - if (!pte_present(pteval)) { - result = SCAN_PTE_NON_PRESENT; - goto out_unmap; - } if (pte_uffd_wp(pteval)) { /* * Don't collapse the page if any of the small |