From: Tejun Heo <tj@kernel.org>
To: Kuba Piecuch <jpiecuch@google.com>
Cc: David Vernet <void@manifault.com>,
Andrea Righi <arighi@nvidia.com>,
Changwoo Min <changwoo@igalia.com>,
sched-ext@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [RFC PATCHSET sched_ext/for-7.4-fixes] sched_ext: sub: Don't run ops.sub_caps_updated() in an SCX op context
Date: Mon, 30 Nov 2026 04:39:04 -1000 [thread overview]
Message-ID: <aw2KiAUML23tN-L3@slm.duckdns.org> (raw)
In-Reply-To: <20261130125254.1864040-1-jpiecuch@google.com>
Hello, Kuba.
On Mon, Nov 30, 2026 at 12:53:26PM +0000, Kuba Piecuch wrote:
...
> I'll drop this RFC and send a doc patch clarifying @sub_caps_updated
> (may run synchronously in the caller's locking context as well as
> unlocked, intended only for tracking caps and propagating
> grants/revokes, with cap-acting operations like scx_bpf_cidperf_set()
> belonging in ops.sub_ecaps_updated()). Let me know if you'd also want
> scx_kfunc_context_filter() to reject rq-lock-sensitive kfuncs from
> ops.sub_caps_updated() at load time, or if updating the doc comment is
> enough.
Oh yeah, if we can reject them, that'd be better.
Thanks.
--
tejun
next prev parent reply other threads:[~2026-11-30 14:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 15:34 [RFC PATCHSET sched_ext/for-7.4-fixes] sched_ext: sub: Don't run ops.sub_caps_updated() in an SCX op context Kuba Piecuch
2026-11-25 15:34 ` [RFC PATCH 1/2] sched_ext: sub: Defer ops.sub_caps_updated() out of SCX op contexts Kuba Piecuch
2026-11-25 15:34 ` [RFC PATCH 2/2] selftests/sched_ext: Test that ops.sub_caps_updated() runs unlocked Kuba Piecuch
2026-11-25 16:06 ` sashiko-bot
2026-11-27 15:43 ` [RFC PATCHSET sched_ext/for-7.4-fixes] sched_ext: sub: Don't run ops.sub_caps_updated() in an SCX op context Tejun Heo
2026-11-30 12:53 ` Kuba Piecuch
2026-11-30 14:39 ` Tejun Heo [this message]
2026-11-30 15:54 ` Kuba Piecuch
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=aw2KiAUML23tN-L3@slm.duckdns.org \
--to=tj@kernel.org \
--cc=arighi@nvidia.com \
--cc=changwoo@igalia.com \
--cc=jpiecuch@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sched-ext@lists.linux.dev \
--cc=void@manifault.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.