From: Frederic Weisbecker <frederic@kernel.org>
To: Qiliang Yuan <realwujing@gmail.com>
Cc: peterz@infradead.org, longman@redhat.com,
cgroups@vger.kernel.org, akpm@linux-foundation.org,
anna-maria@linutronix.de, boqun.feng@gmail.com,
bsegall@google.com, dietmar.eggemann@arm.com, hannes@cmpxchg.org,
jackmanb@google.com, jiangshanlai@gmail.com,
joelagnelf@nvidia.com, josh@joshtriplett.org,
juri.lelli@redhat.com, linux-kernel@vger.kernel.org,
linux-kselftest@vger.kernel.org, linux-mm@kvack.org,
mathieu.desnoyers@efficios.com, mgorman@suse.de, mhocko@suse.com,
mingo@kernel.org, mingo@redhat.com, neeraj.upadhyay@kernel.org,
paulmck@kernel.org, qiang.zhang@linux.dev, rcu@vger.kernel.org,
rostedt@goodmis.org, shuah@kernel.org, surenb@google.com,
tglx@kernel.org, tj@kernel.org, urezki@gmail.com, vbabka@suse.cz,
vincent.guittot@linaro.org, vschneid@redhat.com, ziy@nvidia.com
Subject: Re: [PATCH 01/15] sched/isolation: Support dynamic allocation for housekeeping masks
Date: Tue, 31 Mar 2026 11:23:30 +0200 [thread overview]
Message-ID: <acuSklmoiS6veo-i@pavilion.home> (raw)
In-Reply-To: <20260330114348.102265-1-realwujing@gmail.com>
Le Mon, Mar 30, 2026 at 07:43:21PM +0800, Qiliang Yuan a écrit :
11;rgb:2e2e/3434/3636> Hi Peter,
>
> On Wed, Mar 25, 2026 at 02:57:07PM +0100, Peter Zijlstra wrote:
> > I think I asked this a while ago; why do we have more than one mask?
> > What is the actual purpose of being able to separate RCU from Timers?
>
> That's a fair point. For the vast majority of use cases (like NOHZ_FULL),
> these masks are indeed identical and should be updated as a single unit.
>
> The original motivation for separation was to allow extreme fine-tuning in
> HFT environments—for example, offloading RCU callbacks to keep a core
> mostly clean but allowing pinned timers for specific localized
> telemetry/monitoring.
>
> However, I acknowledge this adds significant complexity. In V13, I will
> unify these into a single "Global Housekeeping Mask" by default to
> simplify the configuration space, while keeping the underlying notifier
> infrastructure flexible enough for future specialized needs.
More precisely we only need four flags:
HK_TYPE_DOMAIN_BOOT (isolcpus=)
HK_TYPE_DOMAIN (cgroup v2 isolated partition + isolcpus=)
HK_TYPE_KERNEL_NOISE (nohz_full=)
HK_TYPE_MANAGED_IRQ (isolcpus=managed_irq)
All the aliases of HK_TYPE_KERNEL_NOISE need to be renamed to
HK_TYPE_KERNEL_NOISE.
Thanks.
--
Frederic Weisbecker
SUSE Labs
prev parent reply other threads:[~2026-03-31 9:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20260325135707.GZ3738786@noisy.programming.kicks-ass.net>
2026-03-30 11:43 ` [PATCH 01/15] sched/isolation: Support dynamic allocation for housekeeping masks Qiliang Yuan
2026-03-31 9:23 ` Frederic Weisbecker [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=acuSklmoiS6veo-i@pavilion.home \
--to=frederic@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=anna-maria@linutronix.de \
--cc=boqun.feng@gmail.com \
--cc=bsegall@google.com \
--cc=cgroups@vger.kernel.org \
--cc=dietmar.eggemann@arm.com \
--cc=hannes@cmpxchg.org \
--cc=jackmanb@google.com \
--cc=jiangshanlai@gmail.com \
--cc=joelagnelf@nvidia.com \
--cc=josh@joshtriplett.org \
--cc=juri.lelli@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=longman@redhat.com \
--cc=mathieu.desnoyers@efficios.com \
--cc=mgorman@suse.de \
--cc=mhocko@suse.com \
--cc=mingo@kernel.org \
--cc=mingo@redhat.com \
--cc=neeraj.upadhyay@kernel.org \
--cc=paulmck@kernel.org \
--cc=peterz@infradead.org \
--cc=qiang.zhang@linux.dev \
--cc=rcu@vger.kernel.org \
--cc=realwujing@gmail.com \
--cc=rostedt@goodmis.org \
--cc=shuah@kernel.org \
--cc=surenb@google.com \
--cc=tglx@kernel.org \
--cc=tj@kernel.org \
--cc=urezki@gmail.com \
--cc=vbabka@suse.cz \
--cc=vincent.guittot@linaro.org \
--cc=vschneid@redhat.com \
--cc=ziy@nvidia.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