mips-mm-enable-mmu_gather_rcu_table_free.patch removed from -mm tree
The quilt patch titled
Subject: mips: mm: enable MMU_GATHER_RCU_TABLE_FREE
has been removed from the -mm tree. Its filename was
mips-mm-enable-mmu_gather_rcu_table_free.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: mips: mm: enable MMU_GATHER_RCU_TABLE_FREE
Date: Tue, 27 Jan 2026 20:12:57 +0800
On a 64-bit system, madvise(MADV_DONTNEED) may cause a large number of empty PTE page table pages (such as 100GB+). To resolve this problem, first enable MMU_GATHER_RCU_TABLE_FREE to prepare for enabling the PT_RECLAIM feature, which resolves this problem.
---
arch/mips/Kconfig | 1 + arch/mips/include/asm/pgalloc.h | 7 +++---- 2 files changed, 4 insertions(+), 4 deletions(-)
arch/mips/include/asm/pgalloc.h renamed from arch/mips/include/asm/pgalloc.h~mips-mm-enable-mmu_gather_rcu_table_free +3 -4
@@ -48,8 +48,7 @@ static inline void pud_populate(struct mextern void pgd_init (void *addr);extern pgd_t *pgd_alloc (struct mm_struct *mm); -#define __pte_free_tlb (tlb, pte, address) \ - tlb_remove_ptdesc((tlb), page_ptdesc(pte)) +#define __pte_free_tlb (tlb, pte, address) tlb_remove_ptdesc((tlb), page_ptdesc(pte))#ifndef __PAGETABLE_PMD_FOLDED
@@ -72,7 +71,7 @@ static inline pmd_t *pmd_alloc_one(struc return pmd; } -#define __pmd_free_tlb (tlb, x, addr) pmd_free((tlb)->mm, x) +#define __pmd_free_tlb (tlb, x, addr) tlb_remove_ptdesc((tlb), virt_to_ptdesc(x))#endif
@@ -97,7 +96,7 @@ static inline void p4d_populate(struct m set_p4d(p4d, __p4d((unsigned long)pud)); } -#define __pud_free_tlb (tlb, x, addr) pud_free((tlb)->mm, x) +#define __pud_free_tlb (tlb, x, addr) tlb_remove_ptdesc((tlb), virt_to_ptdesc(x))#endif /* __PAGETABLE_PUD_FOLDED */
arch/mips/Kconfig renamed from arch/mips/Kconfig~mips-mm-enable-mmu_gather_rcu_table_free +1 -0
@@ -99,6 +99,7 @@ config MIPS select IRQ_FORCED_THREADING select ISA if EISA select LOCK_MM_AND_FIND_VMA + select MMU_GATHER_RCU_TABLE_FREE select MODULES_USE_ELF_REL if MODULES select MODULES_USE_ELF_RELA if MODULES && 64BIT select PERF_USE_VMALLOC
_
Patches currently in -mm which might be from [email protected] are