|
@@ -690,7 +690,7 @@ static unsigned long zap_pte_range(struct mmu_gather *tlb,
|
|
continue;
|
|
continue;
|
|
if (!pte_file(ptent))
|
|
if (!pte_file(ptent))
|
|
free_swap_and_cache(pte_to_swp_entry(ptent));
|
|
free_swap_and_cache(pte_to_swp_entry(ptent));
|
|
- pte_clear_full(mm, addr, pte, tlb->fullmm);
|
|
|
|
|
|
+ pte_clear_not_present_full(mm, addr, pte, tlb->fullmm);
|
|
} while (pte++, addr += PAGE_SIZE, (addr != end && *zap_work > 0));
|
|
} while (pte++, addr += PAGE_SIZE, (addr != end && *zap_work > 0));
|
|
|
|
|
|
add_mm_rss(mm, file_rss, anon_rss);
|
|
add_mm_rss(mm, file_rss, anon_rss);
|