Files
linux/kernel/sched
Tejun Heo b273b75b8d sched_ext: INIT_LIST_HEAD() &sch->all in scx_alloc_and_add_sched()
On scx_link_sched() error paths (parent disabled, hash insert failure),
&sch->all is never added to scx_sched_all. The cleanup path runs
scx_unlink_sched() unconditionally, which calls list_del_rcu(&sch->all) on a
list_head that was never initialized triggering a corruption warning.

Initialize &sch->all.

Fixes: 54be8de423 ("sched_ext: Factor out scx_link_sched() and scx_unlink_sched()")
Signed-off-by: Tejun Heo <tj@kernel.org>
2026-05-12 11:28:56 -10:00
..
2025-06-11 11:20:53 +02:00
2025-06-11 11:20:53 +02:00
2025-06-13 08:47:18 +02:00
2026-03-06 07:58:02 -10:00
2025-07-14 17:16:28 +02:00
2026-01-11 06:09:11 -10:00
2025-06-11 11:20:53 +02:00
2025-06-11 11:20:53 +02:00
2026-01-31 16:16:06 -08:00
2025-06-11 11:20:53 +02:00
2025-06-11 11:20:53 +02:00