]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
sched_ext: Documentation: Fix scx_bpf_move_to_local kfunc name
authorfangqiurong <fangqiurong@kylinos.cn>
Tue, 7 Apr 2026 09:34:05 +0000 (17:34 +0800)
committerTejun Heo <tj@kernel.org>
Tue, 7 Apr 2026 18:13:47 +0000 (08:13 -1000)
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>
Documentation/scheduler/sched-ext.rst

index 9f03650abfeba11b05c584f9d11c8f02b22558d8..ec594ae8086de92b7214645baba118520ce940d4 100644 (file)
@@ -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,