mm-bootmem_info-stop-marking-the-pgdat-as-node_info.patch removed from -mm tree
The quilt patch titled
Subject: mm/bootmem_info: stop marking the pgdat as NODE_INFO
has been removed from the -mm tree. Its filename was
mm-bootmem_info-stop-marking-the-pgdat-as-node_info.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: stop marking the pgdat as NODE_INFO
Date: Mon, 11 May 2026 16:05:33 +0200
We removed the last user of NODE_INFO in commit 119c31caa59e ("mm/sparse:
remove !CONFIG_SPARSEMEM_VMEMMAP leftovers for CONFIG_MEMORY_HOTPLUG").
But it really was never used it besides for safety-checks ever since it was introduced in commit 04753278769f ("memory hotplug: register section/node id to free"), where we had the comment:
5) The node information like pgdat has similar issues. But, this will be able to be solved too by this.
(Not implemented yet, but, remembering node id in the pages.)
Of course, that never happened, and we are not planning on freeing the node data (pgdat/pglist_data), during memory hotunplug.
So let's just stop marking the pgdat as NODE_INFO.
---
mm/bootmem_info.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-)
mm/bootmem_info.c renamed from mm/bootmem_info.c~mm-bootmem_info-stop-marking-the-pgdat-as-node_info +1 -8
@@ -62,15 +62,8 @@ static void __init register_page_bootmemvoid __init register_page_bootmem_info_node (struct pglist_data *pgdat) { -unsigned long i, pfn, end_pfn, nr_pages; +unsigned long pfn, end_pfn;int node = pgdat->node_id; -struct page *page; - - nr_pages =PAGE_ALIGN (sizeof (struct pglist_data )) >>PAGE_SHIFT ; - page =virt_to_page (pgdat); - -for (i =0 ; i < nr_pages; i++, page++) -get_page_bootmem (node, page,NODE_INFO ); pfn = pgdat->node_start_pfn; end_pfn =pgdat_end_pfn (pgdat);
_
Patches currently in -mm which might be from [email protected] are