diff options
| author | Tejun Heo <tj@kernel.org> | 2026-07-21 11:25:14 -1000 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-07-21 22:26:57 -1000 |
| commit | 2c91169377f44e2f2b0b79bc0365f0722987a650 (patch) | |
| tree | e56c90d553cc2cbec7dca2549c511598d8f61a88 /tools/perf/scripts/python/task-analyzer.py | |
| parent | b20dfde5ec543597f7f178f7b96cf6ebcc50e5ee (diff) | |
sched_ext: Blame the DSQ's owning scheduler for a runnable stall
check_rq_for_timeouts() blames a runnable stall on the task's owner. Under
a sub-scheduler hierarchy the stalled task can be sitting on a DSQ that a
different scheduler has to drain, e.g. an ancestor's bypass DSQ while the
owner is bypassing. The drainer then escapes blame while the owner is
exited, and when the owner's exit is already claimed, nothing actionable is
reported at all.
Blame the DSQ's owning scheduler instead. The local DSQ is consumed by the
cpu itself and keeps blame on the owner. Detection keeps the owner's timeout
and single-scheduler behavior is unchanged.
Reviewed-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
