mm-bootmem_info-allow-calling-free_bootmem_page-on-pages-without-a-bootmem_type.patch removed from -mm tree
The quilt patch titled
Subject: mm/bootmem_info: allow calling free_bootmem_page() on pages without a bootmem_type
has been removed from the -mm tree. Its filename was
mm-bootmem_info-allow-calling-free_bootmem_page-on-pages-without-a-bootmem_type.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: "David Hildenbrand (Arm)" <[email protected]>
Subject: mm/bootmem_info: allow calling free_bootmem_page() on pages without a bootmem_type
Date: Thu, 16 Jul 2026 16:51:03 +0200
As preparation for further changes, let's temporarily allow freeing pages that were not previously registered.
This will allow freeing unregistered vmemmap pages allocated during boot through free_bootmem_page() from hugetlb code, until we fully rip all of that out.
---
include/linux/bootmem_info.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
include/linux/bootmem_info.h renamed from include/linux/bootmem_info.h~mm-bootmem_info-allow-calling-free_bootmem_page-on-pages-without-a-bootmem_type +5 -5
@@ -44,12 +44,12 @@ static inline void free_bootmem_page(str {enum bootmem_type type =bootmem_type (page); -VM_BUG_ON_PAGE (page_ref_count (page) !=2 , page); - -if (type ==SECTION_INFO || type ==MIX_SECTION_INFO ) +if (type ==SECTION_INFO || type ==MIX_SECTION_INFO ) { +VM_WARN_ON_PAGE (page_ref_count (page) !=2 , page);put_page_bootmem (page); -else -VM_BUG_ON_PAGE (1 , page); + }else { +free_reserved_page (page); + } }#else static inline void register_page_bootmem_info_node (struct pglist_data *pgdat)
_
Patches currently in -mm which might be from [email protected] are
mm-standardize-printing-for-pgtable-entries.patch mm-gup-fix-always-draining-lru-caches-in-collect_longterm_unpinnable_folios.patch