summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2026-04-24 23:14:32 +0300
committerTejun Heo <tj@kernel.org>2026-04-25 03:13:22 +0300
commitbd2d76455b65aab77652823919db128a8e585825 (patch)
tree63a3a1290e9593c3200dad7fb538e3f2e9c9ba59 /include/linux/stackprotector.h
parent510a27055446b8f0d29487ca8b8d2033dc2b6ca6 (diff)
downloadlinux-bd2d76455b65aab77652823919db128a8e585825.tar.xz
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 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions