Commit cc3e1ca
committed
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: Tejun Heo <[email protected]>1 parent 3fdb9eb commit cc3e1ca
1 file changed
+10
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3062 | 3062 | | |
3063 | 3063 | | |
3064 | 3064 | | |
3065 | | - | |
3066 | | - | |
3067 | | - | |
3068 | | - | |
3069 | | - | |
3070 | 3065 | | |
3071 | 3066 | | |
3072 | 3067 | | |
| |||
5870 | 5865 | | |
5871 | 5866 | | |
5872 | 5867 | | |
5873 | | - | |
5874 | | - | |
5875 | | - | |
| 5868 | + | |
| 5869 | + | |
| 5870 | + | |
5876 | 5871 | | |
| 5872 | + | |
| 5873 | + | |
| 5874 | + | |
| 5875 | + | |
5877 | 5876 | | |
5878 | 5877 | | |
5879 | | - | |
| 5878 | + | |
| 5879 | + | |
| 5880 | + | |
5880 | 5881 | | |
5881 | 5882 | | |
5882 | | - | |
5883 | 5883 | | |
5884 | 5884 | | |
5885 | 5885 | | |
| |||
0 commit comments