* Re: [PATCH 01/15] sched/isolation: Support dynamic allocation for housekeeping masks
[not found] <20260325135707.GZ3738786@noisy.programming.kicks-ass.net>
@ 2026-03-30 11:43 ` Qiliang Yuan
2026-03-31 9:23 ` Frederic Weisbecker
0 siblings, 1 reply; 2+ messages in thread
From: Qiliang Yuan @ 2026-03-30 11:43 UTC (permalink / raw)
To: peterz
Cc: longman, cgroups, akpm, anna-maria, boqun.feng, bsegall,
dietmar.eggemann, frederic, hannes, jackmanb, jiangshanlai,
joelagnelf, josh, juri.lelli, linux-kernel, linux-kselftest,
linux-mm, mathieu.desnoyers, mgorman, mhocko, mingo, mingo,
neeraj.upadhyay, paulmck, qiang.zhang, rcu, realwujing, rostedt,
shuah, surenb, tglx, tj, urezki, vbabka, vincent.guittot,
vschneid, ziy
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=yes, Size: 882 bytes --]
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 01/15] sched/isolation: Support dynamic allocation for housekeeping masks
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
0 siblings, 0 replies; 2+ messages in thread
From: Frederic Weisbecker @ 2026-03-31 9:23 UTC (permalink / raw)
To: Qiliang Yuan
Cc: peterz, longman, cgroups, akpm, anna-maria, boqun.feng, bsegall,
dietmar.eggemann, hannes, jackmanb, jiangshanlai, joelagnelf,
josh, juri.lelli, linux-kernel, linux-kselftest, linux-mm,
mathieu.desnoyers, mgorman, mhocko, mingo, mingo, neeraj.upadhyay,
paulmck, qiang.zhang, rcu, rostedt, shuah, surenb, tglx, tj,
urezki, vbabka, vincent.guittot, vschneid, ziy
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-03-31 9:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox