Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'sched-urgent-2025-04-26' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull scheduler fix from Ingo Molnar:
"Fix sporadic crashes in dequeue_entities() due to ... bad math.

[ Arguably if pick_eevdf()/pick_next_entity() was less trusting of
complex math being correct it could have de-escalated a crash into
a warning, but that's for a different patch ]"

* tag 'sched-urgent-2025-04-26' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
sched/eevdf: Fix se->slice being set to U64_MAX and resulting crash

+1 -3
+1 -3
kernel/sched/fair.c
··· 7081 7081 h_nr_idle = task_has_idle_policy(p); 7082 7082 if (task_sleep || task_delayed || !se->sched_delayed) 7083 7083 h_nr_runnable = 1; 7084 - } else { 7085 - cfs_rq = group_cfs_rq(se); 7086 - slice = cfs_rq_min_slice(cfs_rq); 7087 7084 } 7088 7085 7089 7086 for_each_sched_entity(se) { ··· 7090 7093 if (p && &p->se == se) 7091 7094 return -1; 7092 7095 7096 + slice = cfs_rq_min_slice(cfs_rq); 7093 7097 break; 7094 7098 } 7095 7099