summaryrefslogtreecommitdiff
path: root/tools/lib/python/feat
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2026-05-12 02:18:19 +0300
committerTejun Heo <tj@kernel.org>2026-05-13 00:28:56 +0300
commitb273b75b8d677aea06dd06d80b61b3bb06e94680 (patch)
treef74629178fcefc0be3f64b6ac2d1087b8f3bf371 /tools/lib/python/feat
parent39e25a2100604320e8d9df54c6c31258f7a3df29 (diff)
downloadlinux-b273b75b8d677aea06dd06d80b61b3bb06e94680.tar.xz
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/lib/python/feat')
0 files changed, 0 insertions, 0 deletions