mm-rmap-page_remove_rmap-folio_remove_rmap_pte.patch removed from -mm tree
The quilt patch titled
Subject: mm/rmap: page_remove_rmap() -> folio_remove_rmap_pte()
has been removed from the -mm tree. Its filename was
mm-rmap-page_remove_rmap-folio_remove_rmap_pte.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: David Hildenbrand <[email protected]>
Subject: mm/rmap: page_remove_rmap() -> folio_remove_rmap_pte()
Date: Wed, 20 Dec 2023 23:44:54 +0100
Let's convert try_to_unmap_one() and try_to_migrate_one().
Signed-off-by David Hildenbrand <[email protected]>
Cc Hugh Dickins <[email protected]>
Cc Matthew Wilcox (Oracle) <[email protected]>
Cc Muchun Song <[email protected]>
Cc Muchun Song <[email protected]>
Cc Peter Xu <[email protected]>
Cc Ryan Roberts <[email protected]>
Cc Yin Fengwei <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/rmap.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
mm/rmap.c renamed from mm/rmap.c~mm-rmap-page_remove_rmap-folio_remove_rmap_pte +5 -5
@@ -1647,7 +1647,7 @@ static bool try_to_unmap_one(struct foli/* * When racing against e.g. zap_pte_range() on another cpu, -* in between its ptep_get_and_clear_full() and page_remove_rmap(), +* in between its ptep_get_and_clear_full() and folio_remove_rmap_*(), * try_to_unmap() may return before page_mapped() has become false, * if page table locking is skipped: use TTU_SYNC to wait for that. */
@@ -1928,7 +1928,7 @@ discard:if (unlikely (folio_test_hugetlb (folio)))hugetlb_remove_rmap (folio);else -page_remove_rmap (subpage, vma, false); +folio_remove_rmap_pte (folio, subpage, vma);if (vma->vm_flags &VM_LOCKED )mlock_drain_local ();folio_put (folio);
@@ -1996,7 +1996,7 @@ static bool try_to_migrate_one(struct fo/* * When racing against e.g. zap_pte_range() on another cpu, -* in between its ptep_get_and_clear_full() and page_remove_rmap(), +* in between its ptep_get_and_clear_full() and folio_remove_rmap_*(), * try_to_migrate() may return before page_mapped() has become false, * if page table locking is skipped: use TTU_SYNC to wait for that. */
@@ -2289,7 +2289,7 @@ static bool try_to_migrate_one(struct foif (unlikely (folio_test_hugetlb (folio)))hugetlb_remove_rmap (folio);else -page_remove_rmap (subpage, vma, false); +folio_remove_rmap_pte (folio, subpage, vma);if (vma->vm_flags &VM_LOCKED )mlock_drain_local ();folio_put (folio);
@@ -2428,7 +2428,7 @@ static bool page_make_device_exclusive_o* There is a reference on the page for the swap entry which has * been removed, so shouldn't take another. */ -page_remove_rmap (subpage, vma, false); +folio_remove_rmap_pte (folio, subpage, vma); }mmu_notifier_invalidate_range_end (&range);
_
Patches currently in -mm which might be from [email protected] are