+ mm-dont-call-mmu_notifier_invalidate_page-during-munlock.patch added to -mm tree
Subsystems (2)
[email protected]
maintainerSubject: + mm-dont-call-mmu_notifier_invalidate_page-during-munlock.patch added to -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Wed, 28 May 2014 16:10:03 -0700
The patch titled
Subject: mm/rmap.c: don't call mmu_notifier_invalidate_page() during munlock
has been added to the -mm tree. Its filename is
mm-dont-call-mmu_notifier_invalidate_page-during-munlock.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/mm-dont-call-mmu_notifier_invalidate_page-during-munlock.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/mm-dont-call-mmu_notifier_invalidate_page-during-munlock.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated there every 3-4 working days
------------------------------------------------------
From: Konstantin Khlebnikov <[email protected]>
Subject: mm/rmap.c: don't call mmu_notifier_invalidate_page() during munlock
In its munmap mode, try_to_unmap_one() searches other mlocked vmas, it never unmaps pages. There is no reason for invalidation because ptes are left unchanged.
---
mm/rmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/rmap.c renamed from mm/rmap.c~mm-dont-call-mmu_notifier_invalidate_page-during-munlock +1 -1
@@ -1246,7 +1246,7 @@ static int try_to_unmap_one(struct page out_unmap:pte_unmap_unlock (pte, ptl); -if (ret !=SWAP_FAIL ) +if (ret !=SWAP_FAIL &&TTU_ACTION (flags) !=TTU_MUNLOCK )mmu_notifier_invalidate_page (mm, address); out:return ret;
_
Patches currently in -mm which might be from [email protected] are
tools-vm-page-typesc-catch-sigbus-if-raced-with-truncate.patch mm-process_vm_access-move-config-option-into-init-kconfig.patch mm-dont-call-mmu_notifier_invalidate_page-during-munlock.patch linux-next.patch