Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

sched_ext: Documentation: Mention scheduling class precedence

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>

authored by

Christian Loehle and committed by
Tejun Heo
8ce8d052 70f54f61

+2 -1
+2 -1
Documentation/scheduler/sched-ext.rst
··· 58 58 However, when the BPF scheduler is loaded and ``SCX_OPS_SWITCH_PARTIAL`` is 59 59 set in ``ops->flags``, only tasks with the ``SCHED_EXT`` policy are scheduled 60 60 by sched_ext, while tasks with ``SCHED_NORMAL``, ``SCHED_BATCH`` and 61 - ``SCHED_IDLE`` policies are scheduled by the fair-class scheduler. 61 + ``SCHED_IDLE`` policies are scheduled by the fair-class scheduler which has 62 + higher sched_class precedence than ``SCHED_EXT``. 62 63 63 64 Terminating the sched_ext scheduler program, triggering `SysRq-S`, or 64 65 detection of any internal error including stalled runnable tasks aborts the