arm64-pgtable-use-mmu-gather-to-free-p4d-level-page-table.patch removed from -mm tree
The quilt patch titled
Subject: arm64: pgtable: use mmu gather to free p4d level page table
has been removed from the -mm tree. Its filename was
arm64-pgtable-use-mmu-gather-to-free-p4d-level-page-table.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: Qi Zheng <[email protected]>
Subject: arm64: pgtable: use mmu gather to free p4d level page table
Date: Wed, 8 Jan 2025 14:57:21 +0800
Like other levels of page tables, also use mmu gather mechanism to free p4d level page table.
Link https://lkml.kernel.org/r/3fd48525397b34a64f7c0eb76746da30814dc941.1736317725.git.zhengqi.arch@bytedance.com open here
Signed-off-by Qi Zheng <[email protected]>
Originally-by Peter Zijlstra (Intel) <[email protected]>
Reviewed-by Kevin Brodsky <[email protected]>
Cc Alexander Gordeev <[email protected]>
Cc Alexandre Ghiti <[email protected]>
Cc Alexandre Ghiti <[email protected]>
Cc Andreas Larsson <[email protected]>
Cc Aneesh Kumar K.V (Arm) <[email protected]>
Cc Arnd Bergmann <[email protected]>
Cc Dave Hansen <[email protected]>
Cc David Hildenbrand <[email protected]>
Cc David Rientjes <[email protected]>
Cc Hugh Dickins <[email protected]>
Cc Jann Horn <[email protected]>
Cc Lorenzo Stoakes <[email protected]>
Cc Matthew Wilcox (Oracle) <[email protected]>
Cc Mike Rapoport (Microsoft) <[email protected]>
Cc Muchun Song <[email protected]>
Cc Nicholas Piggin <[email protected]>
Cc Palmer Dabbelt <[email protected]>
Cc Ryan Roberts <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Vishal Moola (Oracle) <[email protected]>
Cc Will Deacon <[email protected]>
Cc Yu Zhao <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
arch/arm64/include/asm/pgalloc.h | 1 - arch/arm64/include/asm/tlb.h | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-)
arch/arm64/include/asm/pgalloc.h renamed from arch/arm64/include/asm/pgalloc.h~arm64-pgtable-use-mmu-gather-to-free-p4d-level-page-table +0 -1
@@ -85,7 +85,6 @@ static inline void pgd_populate(struct m __pgd_populate(pgdp, __pa(p4dp), pgdval); } -#define __p4d_free_tlb (tlb, p4d, addr) p4d_free((tlb)->mm, p4d)#else static inline void __pgd_populate (pgd_t *pgdp,phys_addr_t p4dp,pgdval_t prot) {
arch/arm64/include/asm/tlb.h renamed from arch/arm64/include/asm/tlb.h~arm64-pgtable-use-mmu-gather-to-free-p4d-level-page-table +14 -0
@@ -111,4 +111,18 @@ static inline void __pud_free_tlb(struct }#endif +#if CONFIG_PGTABLE_LEVELS >4 +static inline void __p4d_free_tlb (struct mmu_gather *tlb,p4d_t *p4dp, +unsigned long addr) +{ +struct ptdesc *ptdesc =virt_to_ptdesc (p4dp); + +if (!pgtable_l5_enabled ()) +return ; + +pagetable_p4d_dtor (ptdesc); +tlb_remove_ptdesc (tlb, ptdesc); +} +#endif +#endif
_
Patches currently in -mm which might be from [email protected] are