Linux Documentation
 help / color / mirror / Atom feed
* [PATCH 0/4] sched/core: Core scheduling beyond SMT siblings
@ 2026-12-03 22:13 Ahmed Abdelraoof
  2026-12-03 22:13 ` [PATCH 1/4] sched/core: Decouple the core scheduling unit from cpu_smt_mask Ahmed Abdelraoof
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Ahmed Abdelraoof @ 2026-12-03 22:13 UTC (permalink / raw)
  To: Ingo Molnar, Peter Zijlstra
  Cc: Juri Lelli, Vincent Guittot, Dietmar Eggemann, Steven Rostedt,
	Ben Segall, Mel Gorman, Valentin Schneider, K Prateek Nayak,
	Jonathan Corbet, Shuah Khan, Randy Dunlap, linux-doc,
	linux-kernel, Ahmed Abdelraoof

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-12-03 22:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox