diff options
| author | 2026-04-24 10:14:32 -1000 | |
|---|---|---|
| committer | 2026-04-24 14:13:22 -1000 | |
| commit | bd2d76455b65aab77652823919db128a8e585825 (patch) | |
| tree | 63a3a1290e9593c3200dad7fb538e3f2e9c9ba59 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | sched_ext: sync disable_irq_work in bpf_scx_unreg() (diff) | |
sched_ext: Defer scx_hardlockup() out of NMI
scx_hardlockup() runs from NMI and eventually calls scx_claim_exit(),
which takes scx_sched_lock. scx_sched_lock isn't NMI-safe and grabbing
it from NMI context can lead to deadlocks.
The hardlockup handler is best-effort recovery and the disable path it
triggers runs off of irq_work anyway. Move the handle_lockup() call into
an irq_work so it runs in IRQ context.
Fixes: ebeca1f930ea ("sched_ext: Introduce cgroup sub-sched support")
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
