[PATCH 0/4] sched/core: Core scheduling beyond SMT siblings

From: Ahmed Abdelraoof

Date: Thu Dec 03 2026 - 17:13:21 EST


From: Ahmed Abdelraoof <araoof@xxxxxxxxxx>

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