diff options
| author | Tejun Heo <tj@kernel.org> | 2026-07-27 11:20:32 -1000 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-07-27 11:20:32 -1000 |
| commit | ee7aece608178e322ba150a73613ebace31df885 (patch) | |
| tree | 1701db989b59ef46ff15cae71e57cbfbbeda1330 /tools/perf/scripts | |
| parent | 3c4b38064937a761ebbf85b1649e812db85eb59e (diff) | |
sched_ext: Report scx_link_sched() failures inline
scx_link_sched() carries each failure out of the locked section through
err_msg and ret because scx_error() used to take scx_sched_lock and couldn't
be called under it. That restriction is gone, so report each failure at the
site it's detected and return directly. The scx_error() here claims the exit
on the sched being linked, which has no descendants yet, and the locked
propagation walk is deferred, so nothing reacquires scx_sched_lock inline.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions
