Skip to content

Commit 68000ec

Browse files
authored
Merge pull request raspberrypi#27 from sched-ext/scx-misc-updates
Misc updates
2 parents b1e3b3b + d0a8cea commit 68000ec

31 files changed

+327
-276
lines changed

Documentation/scheduler/sched-ext.rst

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ BPF scheduler and reverts all tasks back to CFS.
4343
.. code-block:: none
4444
4545
# make -j16 -C tools/sched_ext
46-
# tools/sched_ext/scx_example_simple
46+
# tools/sched_ext/scx_simple
4747
local=0 global=3
4848
local=5 global=24
4949
local=9 global=44
@@ -73,8 +73,7 @@ Userspace can implement an arbitrary BPF scheduler by loading a set of BPF
7373
programs that implement ``struct sched_ext_ops``. The only mandatory field
7474
is ``ops.name`` which must be a valid BPF object name. All operations are
7575
optional. The following modified excerpt is from
76-
``tools/sched/scx_example_simple.bpf.c`` showing a minimal global FIFO
77-
scheduler.
76+
``tools/sched/scx_simple.bpf.c`` showing a minimal global FIFO scheduler.
7877

7978
.. code-block:: c
8079
@@ -196,8 +195,8 @@ DSQs are consumed automatically.
196195

197196
``scx_bpf_dispatch()`` queues the task on the FIFO of the target DSQ. Use
198197
``scx_bpf_dispatch_vtime()`` for the priority queue. See the function
199-
documentation and usage in ``tools/sched_ext/scx_example_simple.bpf.c`` for
200-
more information.
198+
documentation and usage in ``tools/sched_ext/scx_simple.bpf.c`` for more
199+
information.
201200

202201
Where to Look
203202
=============
@@ -211,11 +210,11 @@ Where to Look
211210

212211
* ``tools/sched_ext/`` hosts example BPF scheduler implementations.
213212

214-
* ``scx_example_simple[.bpf].c``: Minimal global FIFO scheduler example
215-
using a custom DSQ.
213+
* ``scx_simple[.bpf].c``: Minimal global FIFO scheduler example using a
214+
custom DSQ.
216215

217-
* ``scx_example_qmap[.bpf].c``: A multi-level FIFO scheduler supporting
218-
five levels of priority implemented with ``BPF_MAP_TYPE_QUEUE``.
216+
* ``scx_qmap[.bpf].c``: A multi-level FIFO scheduler supporting five
217+
levels of priority implemented with ``BPF_MAP_TYPE_QUEUE``.
219218

220219
ABI Instability
221220
===============

0 commit comments

Comments
 (0)