diff options
| author | 2026-05-11 13:18:19 -1000 | |
|---|---|---|
| committer | 2026-05-12 11:28:56 -1000 | |
| commit | b273b75b8d677aea06dd06d80b61b3bb06e94680 (patch) | |
| tree | f74629178fcefc0be3f64b6ac2d1087b8f3bf371 /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | sched_ext: Drop NONE early return in scx_disable_and_exit_task() (diff) | |
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: 54be8de4236a ("sched_ext: Factor out scx_link_sched() and scx_unlink_sched()")
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
