From: Peter Zijlstra <peterz@infradead.org>
To: Ahmed Abdelraoof <araoof@amazon.de>
Cc: Ingo Molnar <mingo@redhat.com>,
Juri Lelli <juri.lelli@redhat.com>,
Vincent Guittot <vincent.guittot@linaro.org>,
Dietmar Eggemann <dietmar.eggemann@arm.com>,
Steven Rostedt <rostedt@goodmis.org>,
Ben Segall <bsegall@google.com>, Mel Gorman <mgorman@suse.de>,
Valentin Schneider <vschneid@redhat.com>,
K Prateek Nayak <kprateek.nayak@amd.com>,
Jonathan Corbet <corbet@lwn.net>,
Shuah Khan <skhan@linuxfoundation.org>,
Randy Dunlap <rdunlap@infradead.org>,
linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
Ahmed Abdelraoof <araoof@amazon.com>
Subject: Re: [PATCH 0/4] sched/core: Core scheduling beyond SMT siblings
Date: Sat, 5 Dec 2026 01:03:48 +0100 [thread overview]
Message-ID: <20261205000348.GR2883950@noisy.programming.kicks-ass.net> (raw)
In-Reply-To: <20261203221307.86078-1-araoof@amazon.de>
On Thu, Dec 03, 2026 at 10:13:03PM +0000, Ahmed Abdelraoof wrote:
> From: Ahmed Abdelraoof <araoof@amazon.com>
>
> Core scheduling isolates tasks that distrust each other by never
> running them simultaneously on CPUs that share microarchitectural
> state. Today the isolation unit is hard-wired to the SMT sibling set.
>
> New processors can share an L2 cache between pair of cores while
> providing no SMT at all. There, the SMT sibling set reduces to a
> single CPU, so core scheduling has nothing to isolate, while the
> shared L2 exposes the same class of side channel one level up.
>
> This series generalizes core scheduling to a configurable isolation
> unit and adds support for cluster unit, which on x86 is the set of CPUs
> sharing an L2. Two side-channel classes motivate this:
>
> - Cache-based channels (Prime+Probe and friends): if an attacker and
> a victim can co-run on cores sharing an L2 between a small number of
> cores, a reliable cross-core channel exists. Restricting each cluster
> to same-cookie co-residency removes that concurrent precondition.
> Attacks that span a context switch remain out of scope, as they are
> for SMT core scheduling.
>
> - Frequency-domain channels: one core's activity modulates the clock
> the whole cluster observes, leaking information without any cache
> traffic. This series does not attempt to mitigate that class; it is
> future work.
And next you want L3? :-(
Why are we worried about this L2 thing?
prev parent reply other threads:[~2026-12-05 0:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 22:13 [PATCH 0/4] sched/core: Core scheduling beyond SMT siblings Ahmed Abdelraoof
2026-12-03 22:13 ` [PATCH 1/4] sched/core: Decouple the core scheduling unit from cpu_smt_mask Ahmed Abdelraoof
2026-12-03 22:13 ` [PATCH 2/4] sched/core: Nest the isolation unit rq locks under one lock for lockdep Ahmed Abdelraoof
2026-12-03 22:13 ` [PATCH 3/4] sched/core: Gate core scheduling on the isolation unit Ahmed Abdelraoof
2026-12-03 22:13 ` [PATCH 4/4] sched/core: Support L2 cache isolation Ahmed Abdelraoof
2026-12-05 0:03 ` Peter Zijlstra [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=20261205000348.GR2883950@noisy.programming.kicks-ass.net \
--to=peterz@infradead.org \
--cc=araoof@amazon.com \
--cc=araoof@amazon.de \
--cc=bsegall@google.com \
--cc=corbet@lwn.net \
--cc=dietmar.eggemann@arm.com \
--cc=juri.lelli@redhat.com \
--cc=kprateek.nayak@amd.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mgorman@suse.de \
--cc=mingo@redhat.com \
--cc=rdunlap@infradead.org \
--cc=rostedt@goodmis.org \
--cc=skhan@linuxfoundation.org \
--cc=vincent.guittot@linaro.org \
--cc=vschneid@redhat.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