mm-hugetlb_vmemmap-remove-bootmem_info-leftovers.patch removed from -mm tree
The quilt patch titled
Subject: mm/hugetlb_vmemmap: remove bootmem_info leftovers
has been removed from the -mm tree. Its filename was
mm-hugetlb_vmemmap-remove-bootmem_info-leftovers.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/hugetlb_vmemmap: remove bootmem_info leftovers
Date: Thu, 16 Jul 2026 16:51:07 +0200
We never set CONFIG_HAVE_BOOTMEM_INFO_NODE, so we can just switch to free_reserved_page() and drop the register_page_bootmem_memmap() call.
---
mm/hugetlb_vmemmap.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-)
mm/hugetlb_vmemmap.c renamed from mm/hugetlb_vmemmap.c~mm-hugetlb_vmemmap-remove-bootmem_info-leftovers +2 -6
@@ -12,7 +12,6 @@#include <linux/pgtable.h> #include <linux/moduleparam.h> -#include <linux/bootmem_info.h> #include <linux/mmdebug.h> #include <linux/pagewalk.h> #include <linux/pgalloc.h>
@@ -177,13 +176,13 @@ static int vmemmap_remap_range(unsigned* Free a vmemmap page. A vmemmap page can be allocated from the memblock * allocator or buddy allocator. If the PG_reserved flag is set, it means * that it allocated from the memblock allocator, just free it via the -* free_bootmem_page(). Otherwise, use __free_page(). +* free_reserved_page(). Otherwise, use __free_page(). */ static inline void free_vmemmap_page (struct page *page) {if (PageReserved (page)) {memmap_boot_pages_add (-1 ); -free_bootmem_page (page); +free_reserved_page (page); }else {memmap_pages_add (-1 );__free_page (page);
@@ -641,9 +640,6 @@ static void __hugetlb_vmemmap_optimize_f epfn = spfn +hugetlb_vmemmap_size (h);vmemmap_wrprotect_hvo (spfn, epfn,folio_nid (folio),HUGETLB_VMEMMAP_RESERVE_SIZE ); -register_page_bootmem_memmap (pfn_to_section_nr (folio_pfn (folio)), - &folio->page, -HUGETLB_VMEMMAP_RESERVE_PAGES );continue ; }
_
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