From: Ahmed Abdelraoof <araoof@amazon.de>
To: Ingo Molnar <mingo@redhat.com>, Peter Zijlstra <peterz@infradead.org>
Cc: 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: [PATCH 0/4] sched/core: Core scheduling beyond SMT siblings
Date: Thu, 3 Dec 2026 22:13:03 +0000 [thread overview]
Message-ID: <20261203221307.86078-1-araoof@amazon.de> (raw)
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.
base-commit: 74ce3843347b0fe192e9bf29f46e1a266515defa
next reply other threads:[~2026-12-03 22:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 22:13 Ahmed Abdelraoof [this message]
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
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=20261203221307.86078-1-araoof@amazon.de \
--to=araoof@amazon.de \
--cc=araoof@amazon.com \
--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=peterz@infradead.org \
--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