summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2026-03-15 19:43:27 -1000
committerTejun Heo <tj@kernel.org>2026-03-15 23:26:35 -1000
commit0c66b0da006415880444ec821e3cb66a89273865 (patch)
tree53559e5af5e741c53add49b0be3992ac5deb066a /tools/perf/scripts/python/bin/stackcollapse-report
parentf96bc0fa92be8dc0ec97bbe5bec6d5df26f9585b (diff)
sched_ext: Fix cgroup double-put on sub-sched abort path
The abort path in scx_sub_enable_workfn() fell through to out_put_cgrp, double-putting the cgroup ref already owned by sch->cgrp. It also skipped kthread_flush_work() needed to flush the disable path. Relocate the abort block above err_unlock_and_disable so it falls through to err_disable. Fixes: 337ec00b1d9c ("sched_ext: Implement cgroup sub-sched enabling and disabling") Signed-off-by: Tejun Heo <tj@kernel.org> Reviewed-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions