@@ -43,7 +43,7 @@ BPF scheduler and reverts all tasks back to CFS.
43
43
.. code-block :: none
44
44
45
45
# make -j16 -C tools/sched_ext
46
- # tools/sched_ext/scx_example_simple
46
+ # tools/sched_ext/scx_simple
47
47
local=0 global=3
48
48
local=5 global=24
49
49
local=9 global=44
@@ -73,8 +73,7 @@ Userspace can implement an arbitrary BPF scheduler by loading a set of BPF
73
73
programs that implement ``struct sched_ext_ops ``. The only mandatory field
74
74
is ``ops.name `` which must be a valid BPF object name. All operations are
75
75
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.
78
77
79
78
.. code-block :: c
80
79
@@ -196,8 +195,8 @@ DSQs are consumed automatically.
196
195
197
196
``scx_bpf_dispatch() `` queues the task on the FIFO of the target DSQ. Use
198
197
``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.
201
200
202
201
Where to Look
203
202
=============
@@ -211,11 +210,11 @@ Where to Look
211
210
212
211
* ``tools/sched_ext/ `` hosts example BPF scheduler implementations.
213
212
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.
216
215
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 ``.
219
218
220
219
ABI Instability
221
220
===============
0 commit comments