aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
authorMark Brown <broonie@kernel.org>2026-05-29 23:00:10 +0100
committerMark Brown <broonie@kernel.org>2026-05-29 23:00:10 +0100
commite8b79e654b43e511a9ff0af1963f86718564c7d6 (patch)
tree716d1d18f145b89bd61f852ef7ac0b94914f6e5a /Documentation
parent8d353be232212e7e9a53c582d6cbc9570ad24ab8 (diff)
parent1c24a913b8ebd4e7ef86e1259f3a77b06b4911b9 (diff)
downloadlinux-next-history-e8b79e654b43e511a9ff0af1963f86718564c7d6.tar.gz
Merge branch 'for-next' of https://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext.git
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/scheduler/sched-ext.rst7
1 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/scheduler/sched-ext.rst b/Documentation/scheduler/sched-ext.rst
index 03d595d178ea4..c4f59c08d8a4f 100644
--- a/Documentation/scheduler/sched-ext.rst
+++ b/Documentation/scheduler/sched-ext.rst
@@ -339,6 +339,11 @@ The following briefly shows how a waking task is scheduled and executed.
leaves (e.g., when ``ops.dispatch()`` moves it to a terminal DSQ, or
on property change / sleep).
+ Note that ``ops.enqueue()`` can be called multiple times in a row without
+ an intervening call to ``ops.dequeue()``. This can happen, for example,
+ when a task on a user-created DSQ is re-enqueued using
+ ``scx_bpf_dsq_reenq()``. The task stays in BPF custody the entire time.
+
When a task leaves BPF scheduler custody, ``ops.dequeue()`` is invoked.
The dequeue can happen for different reasons, distinguished by flags:
@@ -503,7 +508,7 @@ Where to Look
custom DSQ.
* ``scx_qmap[.bpf].c``: A multi-level FIFO scheduler supporting five
- levels of priority implemented with ``BPF_MAP_TYPE_QUEUE``.
+ levels of priority implemented with arena-backed doubly-linked lists.
* ``scx_central[.bpf].c``: A central FIFO scheduler where all scheduling
decisions are made on one CPU, demonstrating ``LOCAL_ON`` dispatching,