summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfangqiurong <fangqiurong@kylinos.cn>2026-04-07 17:34:05 +0800
committerTejun Heo <tj@kernel.org>2026-04-07 08:13:47 -1000
commit393754191b85b3f76d9cc44dda5209ef23337e8a (patch)
tree5f5d24b6e66e89ed3dbcbc69825e096cd40caf8b
parenta4f61f0a1afdb3c07025b91379f5c46dd89eb817 (diff)
downloadlinux-393754191b85b3f76d9cc44dda5209ef23337e8a.tar.gz
linux-393754191b85b3f76d9cc44dda5209ef23337e8a.zip
sched_ext: Documentation: Fix scx_bpf_move_to_local kfunc name
The correct kfunc name is scx_bpf_dsq_move_to_local(), not scx_bpf_move_to_local(). Fix the two references in the Scheduling Cycle section. Signed-off-by: fangqiurong <fangqiurong@kylinos.cn> Signed-off-by: Tejun Heo <tj@kernel.org>
-rw-r--r--Documentation/scheduler/sched-ext.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/scheduler/sched-ext.rst b/Documentation/scheduler/sched-ext.rst
index 9f03650abfeb..ec594ae8086d 100644
--- a/Documentation/scheduler/sched-ext.rst
+++ b/Documentation/scheduler/sched-ext.rst
@@ -375,9 +375,9 @@ The following briefly shows how a waking task is scheduled and executed.
rather than performing them immediately. There can be up to
``ops.dispatch_max_batch`` pending tasks.
- * ``scx_bpf_move_to_local()`` moves a task from the specified non-local
+ * ``scx_bpf_dsq_move_to_local()`` moves a task from the specified non-local
DSQ to the dispatching DSQ. This function cannot be called with any BPF
- locks held. ``scx_bpf_move_to_local()`` flushes the pending insertions
+ locks held. ``scx_bpf_dsq_move_to_local()`` flushes the pending insertions
tasks before trying to move from the specified DSQ.
4. After ``ops.dispatch()`` returns, if there are tasks in the local DSQ,