Skip to content
Commit edf1c586 authored by Pat Somaru's avatar Pat Somaru Committed by Tejun Heo
Browse files

sched, sched_ext: Disable SM_IDLE/rq empty path when scx_enabled()



Disable the rq empty path when scx is enabled. SCX must consult the BPF
scheduler (via the dispatch path in balance) to determine if rq is empty.

This fixes stalls when scx is enabled.

Signed-off-by: default avatarPat Somaru <patso@likewhatevs.io>
Fixes: 3dcac251 ("sched/core: Introduce SM_IDLE and an idle re-entry fast-path in __schedule()")
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 7ebd84d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment