sched_ext: bypass mode shouldn't depend on ops.select_cpu()
authorTejun Heo <tj@kernel.org>
Thu, 10 Oct 2024 21:41:44 +0000 (11:41 -1000)
committerTejun Heo <tj@kernel.org>
Thu, 10 Oct 2024 21:41:44 +0000 (11:41 -1000)
commitaebe7ae4cb50551874fdfaf88e4127884298caad
tree5fca882bcba3bdbad1e240a9c1443be66a6bca1a
parentcc3e1caca998e445a030253d2dc42a0db6f5af30
sched_ext: bypass mode shouldn't depend on ops.select_cpu()

Bypass mode was depending on ops.select_cpu() which can't be trusted as with
the rest of the BPF scheduler. Always enable and use scx_select_cpu_dfl() in
bypass mode.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: David Vernet <void@manifault.com>
kernel/sched/ext.c