[PATCH] sched_ext: Documentation: Fix scx_bpf_move_to_local kfunc name

fangqiurong@kylinos.cn posted 1 patch 2 months, 1 week ago
Documentation/scheduler/sched-ext.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] sched_ext: Documentation: Fix scx_bpf_move_to_local kfunc name
Posted by fangqiurong@kylinos.cn 2 months, 1 week ago
From: fangqiurong <fangqiurong@kylinos.com>

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>
---
 Documentation/scheduler/sched-ext.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/scheduler/sched-ext.rst b/Documentation/scheduler/sched-ext.rst
index d74c2c2b9ef3..b106ccf7a0b8 100644
--- a/Documentation/scheduler/sched-ext.rst
+++ b/Documentation/scheduler/sched-ext.rst
@@ -264,9 +264,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,
-- 
2.25.1
Re: [PATCH] sched_ext: Documentation: Fix scx_bpf_move_to_local kfunc name
Posted by Tejun Heo 2 months, 1 week ago
Hello,

On Tue, Apr  7, 2026 at 05:34:05PM +0800, fangqiurong@kylinos.cn wrote:
> 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.

Applied to sched_ext/for-7.1. The patch had the author From: line
set to fangqiurong@kylinos.com while the envelope and Signed-off-by
were @kylinos.cn -- I aligned the recorded author with the
Signed-off-by (.cn). Please let me know if that's wrong.

Thanks.

--
tejun