Skip to contentSkip to conversation

percpu-remove-unnecessary-cpumask_clear-in-pcpu_build_alloc_info.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Oct 7

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: percpu: remove unnecessary cpumask_clear() in pcpu_build_alloc_info()
has been removed from the -mm tree. Its filename was
percpu-remove-unnecessary-cpumask_clear-in-pcpu_build_alloc_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: Sang-Heon Jeon <[email protected]>
Subject: percpu: remove unnecessary cpumask_clear() in pcpu_build_alloc_info()
Date: Wed, 2 Sep 2026 01:53:03 +0900

pcpu_build_alloc_info() clears mask and unconditionally sets it to cpu_possible_mask. Nothing uses it in between, so cpumask_clear() has no effect.

Remove unnecessary cpumask_clear().

No functional change.

---

 mm/percpu.c |    1 -
 1 file changed, 1 deletion(-)
mm/percpu.c renamed from mm/percpu.c~percpu-remove-unnecessary-cpumask_clear-in-pcpu_build_alloc_info +0 -1
@@ -2828,7 +2828,6 @@ static struct pcpu_alloc_info * __init _
 	/* this function may be called multiple times */
 	memset(group_map, 0, sizeof(group_map));
 	memset(group_cnt, 0, sizeof(group_cnt));
-	cpumask_clear(&mask);
 
 	/* calculate size_sum and ensure dyn_size is enough for early alloc */
 	size_sum = PFN_ALIGN(static_size + reserved_size +

_

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

mm-swapops-remove-unused-is_hwpoison_entry.patch bootconfig-remove-redundant-assignment-in-xbc_parse_array.patch init-mainc-remove-unreachable-check-in-obsolete_checksetup.patch