From: Tejun Heo <tj@kernel.org>
To: Tao Cui <cui.tao@linux.dev>
Cc: corbet@lwn.net, rdunlap@infradead.org, skhan@linuxfoundation.org,
arighi@nvidia.com, yphbchou0911@gmail.com, jpiecuch@google.com,
ihor.solodrai@linux.dev, suzhidao@xiaomi.com,
luoliang@kylinos.cn, linux-doc@vger.kernel.org,
linux-kernel@vger.kernel.org, cuitao@kylinos.cn
Subject: Re: [PATCH 2/2] sched_ext: fix stale references in doc comments
Date: Wed, 12 Aug 2026 08:38:13 -1000 [thread overview]
Message-ID: <7496accfcf61b49e8fe5675a3d941c48@kernel.org> (raw)
In-Reply-To: <20260811073801.342165-3-cui.tao@linux.dev>
Hello, Tao.
On Tue, Aug 11, 2026 at 03:38:01PM +0800, Tao Cui wrote:
> - * One user of this function is scx_bpf_dispatch() which can be called
> + * One user of this function is scx_bpf_dsq_insert() which can be called
> * recursively as sub-sched dispatches nest. Always inline to reduce stack usage
> * from the call frame.
This one isn't a leftover of the scx_bpf_dispatch() rename.
scx_bpf_dsq_insert() doesn't call scx_dispatch_sched() and can't nest.
The comment is a typo for scx_bpf_sub_dispatch(), which a parent's
ops.dispatch() calls to trigger dispatching on a child scheduler, so the
calls nest as sub-scheds do. Please use scx_bpf_sub_dispatch() instead.
> * - sleeping (%SCX_DEQ_SLEEP)
> * - being moved to another CPU
> * - being temporarily taken off the queue for an attribute change
> - * (%SCX_DEQ_SAVE)
SCX_DEQ_SAVE was never defined, but these dequeues are flagged with
%SCX_DEQ_SCHED_CHANGE which ops.quiescent() does receive. Please replace
the reference instead of dropping it.
> + * '_' and '.' chars. Exposed via
> + * /sys/kernel/sched_ext/root/ops while the BPF scheduler is enabled.
@name applies to sub-schedulers too and they show it the same way under
their own directories. Maybe something like "Exposed via the ops file in
the scheduler's sysfs directory, /sys/kernel/sched_ext/root/ops for the
root scheduler, while the BPF scheduler is enabled."
The first hunk no longer applies to sched_ext/for-7.3. Please base v2 on
that branch.
Thanks.
--
tejun
prev parent reply other threads:[~2026-08-12 18:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-11 7:37 [PATCH 0/2] sched_ext: minor doc and comment fixes Tao Cui
2026-08-11 7:38 ` [PATCH 1/2] Documentation: sched_ext: fix events sysfs path and show_state example Tao Cui
2026-08-12 18:38 ` Tejun Heo
2026-08-11 7:38 ` [PATCH 2/2] sched_ext: fix stale references in doc comments Tao Cui
2026-08-12 18:38 ` Tejun Heo [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7496accfcf61b49e8fe5675a3d941c48@kernel.org \
--to=tj@kernel.org \
--cc=arighi@nvidia.com \
--cc=corbet@lwn.net \
--cc=cui.tao@linux.dev \
--cc=cuitao@kylinos.cn \
--cc=ihor.solodrai@linux.dev \
--cc=jpiecuch@google.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luoliang@kylinos.cn \
--cc=rdunlap@infradead.org \
--cc=skhan@linuxfoundation.org \
--cc=suzhidao@xiaomi.com \
--cc=yphbchou0911@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox