]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
sched_ext: Documentation: Mention scheduling class precedence
authorChristian Loehle <christian.loehle@arm.com>
Fri, 6 Mar 2026 10:30:51 +0000 (10:30 +0000)
committerTejun Heo <tj@kernel.org>
Fri, 6 Mar 2026 16:32:19 +0000 (06:32 -1000)
Mention the scheduling class precedence of fair and sched_ext to
clear up how sched_ext partial mode works.

Signed-off-by: Christian Loehle <christian.loehle@arm.com>
Acked-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Documentation/scheduler/sched-ext.rst

index 9e2882d937b43027b489bc76cee73bc5a38d7cda..100d45963781836af3a35f66e743864a9a89025f 100644 (file)
@@ -58,7 +58,8 @@ in ``ops->flags``, all ``SCHED_NORMAL``, ``SCHED_BATCH``, ``SCHED_IDLE``, and
 However, when the BPF scheduler is loaded and ``SCX_OPS_SWITCH_PARTIAL`` is
 set in ``ops->flags``, only tasks with the ``SCHED_EXT`` policy are scheduled
 by sched_ext, while tasks with ``SCHED_NORMAL``, ``SCHED_BATCH`` and
-``SCHED_IDLE`` policies are scheduled by the fair-class scheduler.
+``SCHED_IDLE`` policies are scheduled by the fair-class scheduler which has
+higher sched_class precedence than ``SCHED_EXT``.
 
 Terminating the sched_ext scheduler program, triggering `SysRq-S`, or
 detection of any internal error including stalled runnable tasks aborts the