Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

fangqiurong and committed by
Tejun Heo
39375419 a4f61f0a

+2 -2
+2 -2
Documentation/scheduler/sched-ext.rst
··· 375 375 rather than performing them immediately. There can be up to 376 376 ``ops.dispatch_max_batch`` pending tasks. 377 377 378 - * ``scx_bpf_move_to_local()`` moves a task from the specified non-local 378 + * ``scx_bpf_dsq_move_to_local()`` moves a task from the specified non-local 379 379 DSQ to the dispatching DSQ. This function cannot be called with any BPF 380 - locks held. ``scx_bpf_move_to_local()`` flushes the pending insertions 380 + locks held. ``scx_bpf_dsq_move_to_local()`` flushes the pending insertions 381 381 tasks before trying to move from the specified DSQ. 382 382 383 383 4. After ``ops.dispatch()`` returns, if there are tasks in the local DSQ,