From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=90.155.50.34 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796429349; b=C+N7hCZTcqDxszprzQiC8eDHAKHA4KUDHqN6q/Yy0kyFyiRwXKco17lZvrhfBSQ0eA1Y Xr5Vrd6bLxvsWY1nE9Sa5hCCF2ev5hzwH/rN3Wm7RyWTEQNv2l9dHP2t+jGtQBHs0i3qt 9ZEJkqHbe2vZWpjEDjmaGx2Ex8A7I3up6XUPP0FdgL2BOfXthhcG2aXiDKtunRR8SWnQ+ xDcoR925sLq9185psFEF0a4amf3v76PTO5zNea1ulLYU0DqduTQQ5KeH2c5t9d8cB608A jV/HDgTlIoysOVTAL4ro+TgmW5ztjNXTZsPCKPB75Rr8YS+YJkcTcfJT08MPwFjKojA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796429349; h=DMARC-Filter:DKIM-Signature:Received:Received:Date:From:To:Cc: Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; bh=l6bVsc6Cu4jHTWZF7DPLgokrPBN6I2FB9+FBX8ivjQ0=; b=IRsBbS4NVVwgUBiMbJ2kG+l/Q19TL+G0b3DPw+2bYnxWFf8X/LOQcHcZrif/PcDpEqIr zQhcyvf3BcmeyTcV1FM4bOXQ2qNF6pS7O4G8Cj6BAOpjIzGhIOnIzdpylpKpvgkmFAcP/ LTprha8GPpPik0BsqbeoIBB6eHqOcGqBdCrQmaHVesqZjZqxQt2hdri8kAUN5Pu9n338b /po3O0G/gNY0RPNIHyh+W9uAp7E97BQGcRMWkpoP0MrPAONoaU5pam7e+RiyAcMoTe11I jIeL7fxWG/Vp4rc+0N8s6+OAaF/BsmTj1c8aavUNGHRSdWhAvBBmRwEbuIchhkeIOdg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=infradead.org; spf=pass smtp.mailfrom=infradead.org; dkim=pass header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=casper.20170209 header.b=sMFDA9oj; arc=none smtp.remote-ip=90.155.50.34 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 42757606A322; Sat, 5 Dec 2026 00:09:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 42757606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=casper.20170209 header.b=sMFDA9oj DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=l6bVsc6Cu4jHTWZF7DPLgokrPBN6I2FB9+FBX8ivjQ0=; b=sMFDA9ojob4c1Jd7BgyM3fhvw6 xWNo9mv5MWac6sMBaSleVbp4Ga3jkzNAUslmcQGeiNiDaoyiU6vdS5XjUj0cVBz8HL0QZPFNgvKPc L8f9jMzoB4oWIHu5CXlG0BHqwGnKpKpNVdeLJefvOaHUpDm9TcqxR3eFbA/uP9ifcVSysISS2vF6K lpdISVhXPEgs9KI8ERy6o5KdKC7Ycgz4Qkb3r7LGY0seJn9YD1IvuOCq8Q6dIYP1kiO3Wsg1REHFW c86sWOvl2mJm8mW8Y4xObgR8yx6geFquQK9yrlYoYfluLb26ClmMMD3CGDryWcBl5Q/J4JXZYBRau mNAuuBdQ==; Received: from 77-249-17-252.cable.dynamic.v4.ziggo.nl ([77.249.17.252] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZdKo-00000000Lpu-2OMd; Sat, 05 Dec 2026 00:09:02 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id CA5CA30063F; Sat, 05 Dec 2026 01:03:48 +0100 (CET) Date: Sat, 5 Dec 2026 01:03:48 +0100 From: Peter Zijlstra To: Ahmed Abdelraoof Cc: Ingo Molnar , 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@vger.kernel.org, linux-kernel@vger.kernel.org, Ahmed Abdelraoof Subject: Re: [PATCH 0/4] sched/core: Core scheduling beyond SMT siblings Message-ID: <20261205000348.GR2883950@noisy.programming.kicks-ass.net> References: <20261203221307.86078-1-araoof@amazon.de> X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 > > 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?