]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sched_ext: Make scx_prio_less() handle multiple schedulers
authorTejun Heo <tj@kernel.org>
Fri, 6 Mar 2026 17:58:03 +0000 (07:58 -1000)
committerTejun Heo <tj@kernel.org>
Fri, 6 Mar 2026 17:58:03 +0000 (07:58 -1000)
commit41346d68d0aa79a86374c57164c92ce136b6b723
tree8a643cc6153bf25ab072dc680806b57506b0bc80
parent073d4f0667b064ed05c19e44d840b0d4cd49a251
sched_ext: Make scx_prio_less() handle multiple schedulers

Call ops.core_sched_before() iff both tasks belong to the same scx_sched.
Otherwise, use timestamp based ordering.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Andrea Righi <arighi@nvidia.com>
kernel/sched/ext.c