summaryrefslogtreecommitdiff
path: root/include/linux/mmdebug.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2026-04-25 03:31:36 +0300
committerTejun Heo <tj@kernel.org>2026-04-25 03:31:36 +0300
commit4155fb489fa175ec74eedde7d02219cf2fe74303 (patch)
treef6450db0bcd577141990272cf3eb0887e4786f3e /include/linux/mmdebug.h
parent207d76a372fb1bb324eadc8cb5bcaa0a8da7cefd (diff)
downloadlinux-4155fb489fa175ec74eedde7d02219cf2fe74303.tar.xz
sched_ext: Pass held rq to SCX_CALL_OP() for core_sched_before
scx_prio_less() runs from core-sched's pick_next_task() path with rq locked but invokes ops.core_sched_before() with NULL locked_rq, leaving scx_locked_rq_state NULL. If the BPF callback calls a kfunc that re-acquires rq based on scx_locked_rq() - e.g. scx_bpf_cpuperf_set(cpu) - it re-acquires the already-held rq. Pass task_rq(a). Fixes: 7b0888b7cc19 ("sched_ext: Implement core-sched support") Cc: stable@vger.kernel.org # v6.12+ Reported-by: Chris Mason <clm@meta.com> Signed-off-by: Tejun Heo <tj@kernel.org> Reviewed-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'include/linux/mmdebug.h')
0 files changed, 0 insertions, 0 deletions