mm-introduce-pure-page-table-freeing-function.patch removed from -mm tree
The quilt patch titled
Subject: mm: introduce pure page table freeing function
has been removed from the -mm tree. Its filename was
mm-introduce-pure-page-table-freeing-function.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: Dave Hansen <[email protected]>
Subject: mm: introduce pure page table freeing function
Date: Wed, 22 Oct 2025 16:26:31 +0800
The pages used for ptdescs are currently freed back to the allocator in a single location. They will shortly be freed from a second location.
Create a simple helper that just frees them back to the allocator.
---
include/linux/mm.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-)
include/linux/mm.h renamed from include/linux/mm.h~mm-introduce-pure-page-table-freeing-function +8 -3
@@ -3046,6 +3046,13 @@ static inline struct ptdesc *pagetable_a }#define pagetable_alloc (...) alloc_hooks(pagetable_alloc_noprof(__VA_ARGS__)) +static inline void __pagetable_free (struct ptdesc *pt) +{ +struct page *page =ptdesc_page (pt); + +__free_pages (page,compound_order (page)); +} +/** * pagetable_free - Free pagetables * @pt: The page table descriptor
@@ -3055,12 +3062,10 @@ static inline struct ptdesc *pagetable_a*/ static inline void pagetable_free (struct ptdesc *pt) { -struct page *page =ptdesc_page (pt); -if (ptdesc_test_kernel (pt))ptdesc_clear_kernel (pt); -__free_pages (page,compound_order (page)); +__pagetable_free (pt); }#if defined(CONFIG_SPLIT_PTE_PTLOCKS )
_
Patches currently in -mm which might be from [email protected] are