Skip to content

Commit aa3a7b6

Browse files
shashank-mahadasyamhtejun
authored andcommitted
sched_ext, docs: convert mentions of "CFS" to "fair-class scheduler"
Mentions of CFS are stale since the fair-class scheduler is implemented using EEVDF. So, convert such mentions to "fair-class scheduler" to stay algorithm-name agnostic. Signed-off-by: Shashank Balaji <shashank.mahadasyam@sony.com> Signed-off-by: Tejun Heo <tj@kernel.org>
1 parent 36adf6f commit aa3a7b6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Documentation/scheduler/sched-ext.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ options should be enabled to use sched_ext:
4949
sched_ext is used only when the BPF scheduler is loaded and running.
5050

5151
If a task explicitly sets its scheduling policy to ``SCHED_EXT``, it will be
52-
treated as ``SCHED_NORMAL`` and scheduled by CFS until the BPF scheduler is
53-
loaded.
52+
treated as ``SCHED_NORMAL`` and scheduled by the fair-class scheduler until the
53+
BPF scheduler is loaded.
5454

5555
When the BPF scheduler is loaded and ``SCX_OPS_SWITCH_PARTIAL`` is not set
5656
in ``ops->flags``, all ``SCHED_NORMAL``, ``SCHED_BATCH``, ``SCHED_IDLE``, and
@@ -59,11 +59,11 @@ in ``ops->flags``, all ``SCHED_NORMAL``, ``SCHED_BATCH``, ``SCHED_IDLE``, and
5959
However, when the BPF scheduler is loaded and ``SCX_OPS_SWITCH_PARTIAL`` is
6060
set in ``ops->flags``, only tasks with the ``SCHED_EXT`` policy are scheduled
6161
by sched_ext, while tasks with ``SCHED_NORMAL``, ``SCHED_BATCH`` and
62-
``SCHED_IDLE`` policies are scheduled by CFS.
62+
``SCHED_IDLE`` policies are scheduled by the fair-class scheduler.
6363

6464
Terminating the sched_ext scheduler program, triggering `SysRq-S`, or
6565
detection of any internal error including stalled runnable tasks aborts the
66-
BPF scheduler and reverts all tasks back to CFS.
66+
BPF scheduler and reverts all tasks back to the fair-class scheduler.
6767

6868
.. code-block:: none
6969

0 commit comments

Comments
 (0)