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
..
2026-02-21 17:09:51 -08:00
2025-06-13 08:47:14 +02:00
2025-09-03 11:33:28 -10:00
2025-06-13 08:47:18 +02:00
2026-02-03 12:04:19 +01:00
2025-06-11 11:20:53 +02:00
2026-02-21 17:09:51 -08:00
2026-04-15 17:15:18 -07:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2025-10-16 11:13:49 +02:00
2026-04-02 11:30:24 -05:00
2025-06-11 11:20:53 +02:00
2026-02-21 17:09:51 -08:00
2025-06-13 08:47:18 +02:00
2026-02-10 19:01:45 -08:00
2026-04-15 17:15:18 -07:00
2026-04-02 15:04:09 +02:00
2026-05-04 11:01:04 -10:00
2026-04-20 07:57:29 -10:00
2026-04-24 14:31:36 -10:00
2026-05-12 11:28:56 -10:00
2026-03-06 07:58:02 -10:00
2026-04-14 13:33:36 -07:00
2026-04-14 13:33:36 -07:00
2026-03-16 20:29:47 +01:00
2026-02-23 10:46:49 -10:00
2025-07-14 17:16:28 +02:00
2026-01-05 16:43:36 +01:00
2025-11-04 08:30:09 +01:00
2026-01-11 06:09:11 -10:00
2025-09-03 10:03:14 +02:00
2026-02-21 17:09:51 -08:00
2025-09-25 09:57:16 +02:00
2026-04-08 13:11:44 +02:00
2025-06-11 11:20:53 +02:00
2026-04-15 10:54:24 -07:00
2025-06-11 11:20:53 +02:00
2025-06-13 08:47:21 +02:00
2026-01-31 16:16:06 -08:00
2025-12-17 10:53:25 +01:00
2025-06-11 11:20:53 +02:00
2026-03-17 07:14:42 +01:00
2026-04-03 14:23:41 +02:00
2025-06-11 11:20:53 +02:00
2025-07-30 17:14:01 -07:00