mm-swapfile-page_add_anon_rmap-folio_add_anon_rmap_pte.patch removed from -mm tree
The quilt patch titled
Subject: mm/swapfile: page_add_anon_rmap() -> folio_add_anon_rmap_pte()
has been removed from the -mm tree. Its filename was
mm-swapfile-page_add_anon_rmap-folio_add_anon_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/swapfile: page_add_anon_rmap() -> folio_add_anon_rmap_pte()
Date: Wed, 20 Dec 2023 23:44:43 +0100
Let's convert unuse_pte().
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/swapfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/swapfile.c renamed from mm/swapfile.c~mm-swapfile-page_add_anon_rmap-folio_add_anon_rmap_pte +1 -1
@@ -1806,7 +1806,7 @@ static int unuse_pte(struct vm_area_struif (pte_swp_exclusive (old_pte)) rmap_flags |=RMAP_EXCLUSIVE ; -page_add_anon_rmap (page, vma, addr, rmap_flags); +folio_add_anon_rmap_pte (folio, page, vma, addr, rmap_flags); }else {/* ksm created a completely new copy */ folio_add_new_anon_rmap (folio, vma, addr);folio_add_lru_vma (folio, vma);
_
Patches currently in -mm which might be from [email protected] are