diff options
| author | Liang Luo <luoliang@kylinos.cn> | 2026-07-14 11:20:51 +0800 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-07-14 11:40:59 -1000 |
| commit | 35f9cbbacb671e587c84e992e7b0098c39e895a4 (patch) | |
| tree | 911b220fcbfadea8cfd10cc913dcbbb26ffb677f | |
| parent | eb00f4a3620ae8f5e15bc1d6a39277e7d76d2feb (diff) | |
| download | linux-35f9cbbacb671e587c84e992e7b0098c39e895a4.tar.gz linux-35f9cbbacb671e587c84e992e7b0098c39e895a4.zip | |
tools/sched_ext: scx_qmap: Fix stale API name in comment
The comment above dispatch_highpri() still references
scx_bpf_dispatch[_vtime]_from_dsq(), which was renamed to
scx_bpf_dsq_move[_vtime]() in v6.13 to unload the overloaded
"dispatch" verb. The code below already uses the new names; only the
comment was left behind during the rename.
Fixes: 5cbb302880f5 ("sched_ext: Rename scx_bpf_dispatch[_vtime]_from_dsq*() -> scx_bpf_dsq_move[_vtime]*()")
Signed-off-by: Liang Luo <luoliang@kylinos.cn>
Signed-off-by: Tejun Heo <tj@kernel.org>
| -rw-r--r-- | tools/sched_ext/scx_qmap.bpf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/sched_ext/scx_qmap.bpf.c b/tools/sched_ext/scx_qmap.bpf.c index 66c53182cb02..09aee49120c2 100644 --- a/tools/sched_ext/scx_qmap.bpf.c +++ b/tools/sched_ext/scx_qmap.bpf.c @@ -596,7 +596,7 @@ static void update_core_sched_head_seq(struct task_struct *p) * moving them to HIGHPRI_DSQ and then consuming them first. This makes minor * difference only when dsp_batch is larger than 1. * - * scx_bpf_dispatch[_vtime]_from_dsq() are allowed both from ops.dispatch() and + * scx_bpf_dsq_move[_vtime]() are allowed both from ops.dispatch() and * non-rq-lock holding BPF programs. As demonstration, this function is called * from qmap_dispatch() and monitor_timerfn(). */ |
