Skip to contentSkip to conversation

mm-add-missing-static-initializer-for-init_mm-mm_cidlock.patch removed from -mm tree

merged mm-hotfixes-stable Andrew Morton 1 participant 1 message Jan 19 Stable branch

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm: add missing static initializer for init_mm::mm_cid.lock
has been removed from the -mm tree. Its filename was
mm-add-missing-static-initializer-for-init_mm-mm_cidlock.patch

This patch was dropped because it was merged into the mm-hotfixes-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Mathieu Desnoyers <[email protected]>
Subject: mm: add missing static initializer for init_mm::mm_cid.lock
Date: Wed, 24 Dec 2025 12:33:56 -0500

Initialize the mm_cid.lock struct member of init_mm.

Fixes 8cea569ca785 ("sched/mmcid: Use proper data structures")
Cc Aboorva Devarajan <[email protected]>
Cc Al Viro <[email protected]>
Cc Baolin Wang <[email protected]>
Cc Christan König <[email protected]>
Cc Christian Brauner <[email protected]>
Cc Christoph Lameter <[email protected]>
Cc David Hildenbrand <[email protected]>
Cc David Rientjes <[email protected]>
Cc Dennis Zhou <[email protected]>
Cc Johannes Weiner <[email protected]>
Cc "Liam R . Howlett" <[email protected]>
Cc Lorenzo Stoakes <[email protected]>
Cc Mark Brown <[email protected]>
Cc Martin Liu <[email protected]>
Cc Masami Hiramatsu <[email protected]>
Cc Mateusz Guzik <[email protected]>
Cc Matthew Wilcox <[email protected]>
Cc Miaohe Lin <[email protected]>
Cc Michal Hocko <[email protected]>
Cc Mike Rapoport <[email protected]>
Cc "Paul E. McKenney" <[email protected]>
Cc Roman Gushchin <[email protected]>
Cc SeongJae Park <[email protected]>
Cc Shakeel Butt <[email protected]>
Cc Steven Rostedt <[email protected]>
Cc Suren Baghdasaryan <[email protected]>
Cc Sweet Tea Dorminy <[email protected]>
Cc Tejun Heo <[email protected]>
Cc Vlastimil Babka <[email protected]>
Cc Wei Yang <[email protected]>
Cc Yu Zhao <[email protected]>
Cc Peter Zijlstra (Intel) <[email protected]>

---

 mm/init-mm.c |    3 +++
 1 file changed, 3 insertions(+)
mm/init-mm.c renamed from mm/init-mm.c~mm-add-missing-static-initializer-for-init_mm-mm_cidlock +3 -0
@@ -44,6 +44,9 @@ struct mm_struct init_mm = {
 	.mm_lock_seq	= SEQCNT_ZERO(init_mm.mm_lock_seq),
 #endif
 	.user_ns	= &init_user_ns,
+#ifdef CONFIG_SCHED_MM_CID
+	.mm_cid.lock = __RAW_SPIN_LOCK_UNLOCKED(init_mm.mm_cid.lock),
+#endif
 	.cpu_bitmap	= CPU_BITS_NONE,
 	INIT_MM_CONTEXT(init_mm)
 };

_

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

tsacct-skip-all-kernel-threads.patch mm-fix-oom-killer-inaccuracy-on-large-many-core-systems.patch