mm-convert-pmd_ptlock_init-to-use-ptdescs.patch removed from -mm tree
The quilt patch titled
Subject: mm: convert pmd_ptlock_init() to use ptdescs
has been removed from the -mm tree. Its filename was
mm-convert-pmd_ptlock_init-to-use-ptdescs.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: mm: convert pmd_ptlock_init() to use ptdescs
Date: Mon, 7 Aug 2023 16:04:49 -0700
This removes some direct accesses to struct page, working towards splitting out struct ptdesc from struct page.
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]>
---
include/linux/mm.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
include/linux/mm.h renamed from include/linux/mm.h~mm-convert-pmd_ptlock_init-to-use-ptdescs +5 -5
@@ -2959,12 +2959,12 @@ static inline spinlock_t *pmd_lockptr(streturn ptlock_ptr (pmd_ptdesc (pmd)); } -static inline bool pmd_ptlock_init (struct page *page) +static inline bool pmd_ptlock_init (struct ptdesc *ptdesc) {#ifdef CONFIG_TRANSPARENT_HUGEPAGE - page->pmd_huge_pte =NULL ; + ptdesc->pmd_huge_pte =NULL ;#endif -return ptlock_init (page); +return ptlock_init (ptdesc_page (ptdesc)); }static inline void pmd_ptlock_free (struct page *page)
@@ -2984,7 +2984,7 @@ static inline spinlock_t *pmd_lockptr(streturn &mm->page_table_lock; } -static inline bool pmd_ptlock_init (struct page *page) {return true; } +static inline bool pmd_ptlock_init (struct ptdesc *ptdesc) {return true; }static inline void pmd_ptlock_free (struct page *page) {}#define pmd_huge_pte (mm, pmd) ((mm)->pmd_huge_pte)
@@ -3000,7 +3000,7 @@ static inline spinlock_t *pmd_lock(strucstatic inline bool pgtable_pmd_page_ctor (struct page *page) { -if (!pmd_ptlock_init (page)) +if (!pmd_ptlock_init (page_ptdesc (page)))return false;__SetPageTable (page);inc_lruvec_page_state (page,NR_PAGETABLE );
_
Patches currently in -mm which might be from [email protected] are