diff options
| author | Christian Loehle <christian.loehle@arm.com> | 2026-03-06 10:30:51 +0000 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-03-06 06:32:19 -1000 |
| commit | 8ce8d0524c136f60a1bddb0951db2999342d7217 (patch) | |
| tree | c47b4fe0db7c9184ac976efdb8f4852fc85fa727 /Documentation | |
| parent | 70f54f61a3d52af13b72248a63e98eddf4c990ac (diff) | |
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>
Diffstat (limited to 'Documentation')
| -rw-r--r-- | Documentation/scheduler/sched-ext.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/scheduler/sched-ext.rst b/Documentation/scheduler/sched-ext.rst index 9e2882d937b4..100d45963781 100644 --- a/Documentation/scheduler/sched-ext.rst +++ b/Documentation/scheduler/sched-ext.rst @@ -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 |
