X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=mm%2Frmap.c;h=85b7f94233526acc1863539caae49b6e640b3434;hb=906f9cdfc2a0800f13683f9e4ebdfd08c12ee81b;hp=1e79fac3186b63208cbe37a8c05597c44d2234c9;hpb=83c4087ce468601501ecde4d0ec5b2abd5f57c31;p=linux-2.6-block.git diff --git a/mm/rmap.c b/mm/rmap.c index 1e79fac3186b..85b7f9423352 100644 --- a/mm/rmap.c +++ b/mm/rmap.c @@ -1627,16 +1627,9 @@ static bool try_to_unmap_one(struct page *page, struct vm_area_struct *vma, address + PAGE_SIZE); } else { /* - * We should not need to notify here as we reach this - * case only from freeze_page() itself only call from - * split_huge_page_to_list() so everything below must - * be true: - * - page is not anonymous - * - page is locked - * - * So as it is a locked file back page thus it can not - * be remove from the page cache and replace by a new - * page before mmu_notifier_invalidate_range_end so no + * This is a locked file-backed page, thus it cannot + * be removed from the page cache and replaced by a new + * page before mmu_notifier_invalidate_range_end, so no * concurrent thread might update its page table to * point at new page while a device still is using this * page.