diff options
| author | Tejun Heo <tj@kernel.org> | 2026-10-17 12:29:39 -1000 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-10-17 13:37:20 -1000 |
| commit | cce3618e2d4bd309966bed9930692e5d72e3a4ef (patch) | |
| tree | a18208c9dfbedd926e43ad1f7d8f30c678c12a4a /tools/perf/scripts/python/stackcollapse.py | |
| parent | b3768d058c98d4e8114a246d3267d7dae1c123fb (diff) | |
sched_ext: scx_qmap: Also re-enqueue stranded tasks with scx_bpf_dsq_reenq_task()
scan_shared_dsq() rescues a task stranded on SHARED_DSQ or HIGHPRI_DSQ by
moving it to the rescue path with scx_bpf_dsq_move(). For a task with an odd
pid, mark it with scx_bpf_dsq_reenq_task() instead, which sends it back
through qmap_enqueue() and its rescue, so that both kfuncs are exercised.
scan_shared_dsq() runs from qmap_dispatch() and from the monitor timer, so
the kfunc can be called both with the dispatch rq locked and with no rq lock
held.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
