Skip to content
Commit cc3e1cac authored by Tejun Heo's avatar Tejun Heo
Browse files

sched_ext: Move scx_buildin_idle_enabled check to scx_bpf_select_cpu_dfl()



Move the sanity check from the inner function scx_select_cpu_dfl() to the
exported kfunc scx_bpf_select_cpu_dfl(). This doesn't cause behavior
differences and will allow using scx_select_cpu_dfl() in bypass mode
regardless of scx_builtin_idle_enabled.

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 3fdb9ebc
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