sparc-convert-pgtable_pte_page_ctor-dtor-to-ptdesc-equivalents.patch removed from -mm tree
The quilt patch titled
Subject: sparc: convert pgtable_pte_page_{ctor, dtor}() to ptdesc equivalents
has been removed from the -mm tree. Its filename was
sparc-convert-pgtable_pte_page_ctor-dtor-to-ptdesc-equivalents.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: "Vishal Moola (Oracle)" <[email protected]>
Subject: sparc: convert pgtable_pte_page_{ctor, dtor}() to ptdesc equivalents
Date: Mon, 7 Aug 2023 16:05:11 -0700
Part of the conversions to replace pgtable pte constructor/destructors with ptdesc equivalents.
Signed-off-by Vishal Moola (Oracle) <[email protected]>
Cc Arnd Bergmann <[email protected]>
Cc Catalin Marinas <[email protected]>
Cc Christophe Leroy <[email protected]>
Cc Claudio Imbrenda <[email protected]>
Cc Dave Hansen <[email protected]>
Cc David Hildenbrand <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc Dinh Nguyen <[email protected]>
Cc Geert Uytterhoeven <[email protected]>
Cc Geert Uytterhoeven <[email protected]>
Cc Guo Ren <[email protected]>
Cc Huacai Chen <[email protected]>
Cc Hugh Dickins <[email protected]>
Cc John Paul Adrian Glaubitz <[email protected]>
Cc Jonas Bonn <[email protected]>
Cc Matthew Wilcox <[email protected]>
Cc Palmer Dabbelt <[email protected]>
Cc Paul Walmsley <[email protected]>
Cc Richard Weinberger <[email protected]>
Cc Thomas Bogendoerfer <[email protected]>
Cc Yoshinori Sato <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
arch/sparc/mm/srmmu.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
arch/sparc/mm/srmmu.c renamed from arch/sparc/mm/srmmu.c~sparc-convert-pgtable_pte_page_ctor-dtor-to-ptdesc-equivalents +3 -2
@@ -355,7 +355,8 @@ pgtable_t pte_alloc_one(struct mm_structreturn NULL ; page =pfn_to_page (__nocache_pa ((unsigned long )ptep) >>PAGE_SHIFT );spin_lock (&mm->page_table_lock); -if (page_ref_inc_return (page) ==2 && !pgtable_pte_page_ctor (page)) { +if (page_ref_inc_return (page) ==2 && + !pagetable_pte_ctor (page_ptdesc (page))) {page_ref_dec (page); ptep =NULL ; }
@@ -371,7 +372,7 @@ void pte_free(struct mm_struct *mm, pgta page =pfn_to_page (__nocache_pa ((unsigned long )ptep) >>PAGE_SHIFT );spin_lock (&mm->page_table_lock);if (page_ref_dec_return (page) ==1 ) -pgtable_pte_page_dtor (page); +pagetable_pte_dtor (page_ptdesc (page));spin_unlock (&mm->page_table_lock);srmmu_free_nocache (ptep,SRMMU_PTE_TABLE_SIZE );
_
Patches currently in -mm which might be from [email protected] are