diff options
| author | Cheng-Yang Chou <yphbchou0911@gmail.com> | 2026-06-10 23:26:55 +0800 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-06-24 12:48:32 -1000 |
| commit | da428d572e07bb9dd2d076297ef5700f6483aafd (patch) | |
| tree | 2453f6e24090b95d65496d553148559c1adb733f /tools/perf/scripts/python | |
| parent | a5cc43414b38decd50bdd447e558358a6fbd5864 (diff) | |
sched_ext: Fix exit_cpu accuracy for lockup paths
handle_lockup() uses raw_smp_processor_id() for exit_cpu, which is wrong
for two paths:
- scx_hardlockup_irq_workfn() has the hung CPU in a local variable but
irq_work may run elsewhere. Pass the local cpu explicitly.
- scx_rcu_cpu_stall() records the detector CPU rather than the stalled
one. Pass -1 for now. The next patch fixes this properly.
Signed-off-by: Cheng-Yang Chou <yphbchou0911@gmail.com>
Reviewed-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
