Skip to contentSkip to conversation

arch_numa-remove-redundant-nodemask-clears-in-numa_init.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Jul 29

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: arch_numa: remove redundant nodemask clears in numa_init()
has been removed from the -mm tree. Its filename was
arch_numa-remove-redundant-nodemask-clears-in-numa_init.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: Sang-Heon Jeon <[email protected]>
Subject: arch_numa: remove redundant nodemask clears in numa_init()
Date: Thu, 18 Jun 2026 01:39:19 +0900

numa_init() clears numa_nodes_parsed, node_possible_map and node_online_map, then calls numa_memblks_init(), which clears the same nodemasks. Nothing uses them in between.

These clears have been redundant since commit 767507654c22 ("arch_numa:
switch over to numa_memblks") made numa_init() use numa_memblks_init().

No functional change.

---

 drivers/base/arch_numa.c |    4 ----
 1 file changed, 4 deletions(-)
drivers/base/arch_numa.c renamed from drivers/base/arch_numa.c~arch_numa-remove-redundant-nodemask-clears-in-numa_init +0 -4
@@ -231,10 +231,6 @@ static int __init numa_init(int (*init_f
 {
 	int ret;
 
-	nodes_clear(numa_nodes_parsed);
-	nodes_clear(node_possible_map);
-	nodes_clear(node_online_map);
-
 	ret = numa_memblks_init(init_func, /* memblock_force_top_down */ false);
 	if (ret < 0)
 		goto out_free_distance;

_

Patches currently in -mm which might be from [email protected] are

mm-early_ioremap-clarify-early_ioremap_reset-semantics.patch riscv-remove-unused-__late_set_fixmap-and-__late_clear_fixmap.patch arm64-remove-early_ioremap_reset-call-and-__late_-macros.patch