[GIT PULL] scheduler fixes

Ingo Molnar
2026-03-15T03:28:47Z

Linus,

Please pull the latest sched/urgent Git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-urgent-2026-03-15

for you to fetch changes up to 192d852129b1b7c4f0ddbab95d0de1efd5ee1405:

More MM-CID fixes, mostly fixing hangs/races:

- Fix CID hangs due to a race between concurrent forks

- Fix vfork()/CLONE_VM MMCID bug causing hangs

- Remove pointless preemption guard

- Fix CID task list walk performance regression on large systems
by removing the known-flaky and slow counting logic using
for_each_process_thread() in mm_cid_*fixup_tasks_to_cpus(),
and implementing a simple sched_mm_cid::node list instead

Thanks,

Ingo

------------------>
Thomas Gleixner (4):
sched/mmcid: Prevent CID stalls due to concurrent forks
sched/mmcid: Handle vfork()/CLONE_VM correctly
sched/mmcid: Remove pointless preempt guard
sched/mmcid: Avoid full tasklist walks

include/linux/rseq_types.h | 6 +++-
include/linux/sched.h | 2 --
kernel/fork.c | 3 +-
kernel/sched/core.c | 79 ++++++++++++++++------------------------------
4 files changed, 34 insertions(+), 56 deletions(-)