summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2025-04-29 21:40:10 +0300
committerTejun Heo <tj@kernel.org>2025-04-29 21:40:10 +0300
commitbff3b5aec1b727b620adc7c47085592802390125 (patch)
treedfa4ce074f54f88a09976c9ee08c1edff335da94 /tools/perf/scripts/python/stackcollapse.py
parentc201ea1578d3b9eed29494ba3dc2abbccf62c4c8 (diff)
downloadlinux-bff3b5aec1b727b620adc7c47085592802390125.tar.xz
sched_ext: Move disable machinery into scx_sched
Because disable can be triggered from any place and the scheduler cannot be trusted, disable path uses an irq_work to bounce and a kthread_work which is executed on an RT helper kthread to perform disable. These must be per scheduler instance to guarantee forward progress. Move them into scx_sched. - If an scx_sched is accessible, its helper kthread is always valid making the `helper` check in schedule_scx_disable_work() unnecessary. As the function becomes trivial after the removal of the test, inline it. - scx_create_rt_helper() has only one user - creation of the disable helper kthread. Inline it into scx_alloc_and_add_sched(). Signed-off-by: Tejun Heo <tj@kernel.org> Reviewed-by: Andrea Righi <arighi@nvidia.com> Acked-by: Changwoo Min <changwoo@igalia.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions