What to know

  • The proposal adds an L2-based cluster unit beyond the existing SMT sibling grouping.
  • Its documentation keeps SMT as the default and acknowledges shared-lock contention for wider units.
  • It addresses concurrent co-residency; context-switch and frequency-domain side channels remain outside the stated protection scope.

A new Linux core-scheduling proposal would let the scheduler treat CPUs sharing an L2 cache as one isolation group, including on processors without simultaneous multithreading. Its contribution is a different choice of which CPUs must coordinate their concurrent work, rather than a claim that all processor side channels have been eliminated.

An SMT sibling set can miss another shared resource

The December 3 four-patch cover letter, submitted by Amazon engineers, describes the existing isolation unit as the SMT sibling set. It points to processors where separate cores share an L2 cache despite having no SMT. On that topology, a one-CPU sibling set does not represent the shared cache.

In an illustrative two-core arrangement, placing work on different cores can therefore leave both tasks using the same cache. The relevant distinction is which resource is shared, not just whether the operating system reports two different CPUs. The proposed cluster grouping changes the set considered together for core scheduling.

The series describes restricting concurrent work within that unit to matching core-scheduling cookies. Here a cookie is the scheduler's grouping label. Expanding the CPU set does not establish that an application assigned its workloads to the right trust groups; that remains a different part of the system's policy.

The proposed option changes both scope and coordination

The fourth patch and its documentation change describe an SMT choice as the default and a cluster choice based on reported CPU topology. On x86, the proposed cluster corresponds to CPUs sharing an L2 cache. The text also warns when the selected topology reports no group with more than one CPU.

This makes topology evidence material to interpreting the option. Selecting a named grouping and obtaining a useful multi-CPU isolation unit are not automatically the same result. The patch is a proposal for how that selection would work, not evidence about the topology or running configuration of a reader's machine.

The authors also identify a coordination cost: CPUs in the wider unit share a runqueue lock, potentially trading additional lock contention for isolation. No throughput measurement accompanies this explanation. It would be misleading to turn the wider grouping alone into a free performance or protection improvement for every workload.

The cover letter deliberately leaves two gaps visible

The stated cache-channel goal concerns an attacker and victim running at the same time within the shared unit. The cover letter excludes attacks across a context switch. It also explicitly leaves frequency-domain channels for future work. Those limitations remain relevant even when the proposed concurrent-sharing condition is removed.

The submission is dated December 3 at 22:13 UTC. BijliCoin read the cover letter and four patches without applying, compiling or testing them. No upstream merge, released-kernel availability or system-wide security guarantee is asserted. Revised topology semantics, measured contention results or changed mitigation scope would require this account to be revisited.

Editorial note: AI-assisted research and writing based on the linked primary sources, with independent automated source, content and image checks. The cover is an AI-generated editorial illustration for BijliCoin. BijliCoin is responsible for this article and welcomes corrections through its corrections page. Testing and evidence limitations are stated in the article.

Sources & context

  1. Core scheduling beyond SMT siblings: patch0/4 ↗
  2. Support L2 cache isolation: patch4/4 ↗

See our editorial policy or report a correction.

Related guides and definitions

Worth sharing?
Facebook ↗X ↗WhatsApp ↗LinkedIn ↗Telegram ↗Reddit ↗Email ↗

Sign in to like this article or add a comment. Comments are reviewed before appearing publicly.

Comments —