From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=34.218.115.239 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796335998; b=EBPmj1c9h3zgdExlvf5+Hzr9LFXuQdE9NyVJQnjnGG2yZrY0OmjEoR477pDVVJYm0DnI 0vD074JeiF0inj3MXleB33TGf1iRi4d3iUs139VsRTgZmIr7izQxsu3vRUXLSa7IqlkVW 2JhRhcl2JDLPTPeES4GRisc/gGvJDK4d+5c7wYas3Di9rl3gl7U90osD/BV6VvnMHIeZW +KwVhFMF1w1acbpZxQEyrFb6ih7vlQrTGSixCf3cKwog3///aMdOyvi7aguO1GujiWVrW kiSC4dii6aCwJFy6lfQOoGHwdOqNwwrDfA1C4egp/6+Iu0pBbgAGGd5zewEN0wIst4w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796335998; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:Received:Received:X-Farcaster-Flow-ID:Received:Received: From:To:CC:Subject:Date:Message-ID:X-Mailer:MIME-Version: Content-Transfer-Encoding:Content-Type:X-Originating-IP: X-ClientProxiedBy; bh=tzwdtV93jwZS463rH/Pp8l/3tCdUeYUR6uKCtL1ipsw=; b=rwDPfCbd4WCT1qVxhc/b0+a6Odneb/19YnwDU/rZcRn2ZGyr1mvxeO0V6C41SE6IuiyJ cCOjz2I8p3H1jZ1nYMhdDOtxEDAt69Mtqe+ReUWsw0lVGj9MmLXTGazzClFH/5o0+21Fu YqyRmeFeK7HF6u0ljiEsXKCrpBhLwRIwSfUUXUP/S3aDuTdj4angqCnxbg9iNlstyRTsb 8sFkwvtJr+I62fGMe+geUwIUa+Jy27a86+rpdd24QucgH+G643kT83xr/utHz0TPaWyYm cQeoDbW5DOmoaZZDnBmhmI8yHc/uxecEzo80gixc/Jdt/MqdWNE6KT9KQANiSrzagAQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=amazon.de; spf=pass smtp.mailfrom=amazon.de; dkim=pass header.d=amazon.de header.i=@amazon.de header.a=rsa-sha256 header.s=amazoncorp2 header.b="cuI/woNe"; arc=none smtp.remote-ip=34.218.115.239 Received: from pdx-out-013.esa.us-west-2.outbound.mail-perimeter.amazon.com (pdx-out-013.esa.us-west-2.outbound.mail-perimeter.amazon.com [34.218.115.239]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7F807606A322; Thu, 3 Dec 2026 22:13:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 7F807606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amazon.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amazon.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=amazon.de header.i=@amazon.de header.a=rsa-sha256 header.s=amazoncorp2 header.b=cuI/woNe DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.de; i=@amazon.de; q=dns/txt; s=amazoncorp2; t=1796335998; x=1827871998; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=tzwdtV93jwZS463rH/Pp8l/3tCdUeYUR6uKCtL1ipsw=; b=cuI/woNej1CWxAOywXIrBkXBOdb4lFc5TcMO2i3RcQ3gQrYDMNyD8cQL vShivbPO4vKHfyEp+WJBsx5zafV4tVez4SyPXql7++EvqXoPX26WT11OA 5gK/Y5sxBrtsPxlsuj02JT3vyMhEQaNwfevhrQ7SLrswHdEf5CGvvkOAA 59v2Jg13f9RvmH/gHkNt6ukZZfQ20BTJF9khG9/3KojA32I72Vhba9LOf nHwYOb3RVo7uthEqhxH6mekOiCAq5FacZCkOralcKBDYgUfBIT+lBKY/b Fg4yVOlxSrpdnQ3py2cgQdKMW+iZee38ndD8yYLGJsiwWqeOHqAU64b0M A==; X-CSE-ConnectionGUID: r03qW3t5Q+Knn6PPD1noKQ== X-CSE-MsgGUID: 1SS3y3DxRF6BoSNvAkk8VA== X-IronPort-AV: E=Sophos;i="6.29,77,1794873600"; d="scan'208";a="35680336" Received: from ip-10-5-12-219.us-west-2.compute.internal (HELO smtpout.naws.us-west-2.prod.farcaster.email.amazon.dev) ([10.5.12.219]) by internal-pdx-out-013.esa.us-west-2.outbound.mail-perimeter.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Dec 2026 22:13:15 +0000 Received: from EX19MTAUWC001.ant.amazon.com [205.251.233.53:18837] by smtpin.naws.us-west-2.prod.farcaster.email.amazon.dev [10.0.42.230:2525] with esmtp (Farcaster) id df297cc0-cf33-496a-b0b2-070ec66cac54; Thu, 3 Dec 2026 22:13:15 +0000 (UTC) X-Farcaster-Flow-ID: df297cc0-cf33-496a-b0b2-070ec66cac54 Received: from EX19D001UWA001.ant.amazon.com (10.13.138.214) by EX19MTAUWC001.ant.amazon.com (10.250.64.174) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.2562.57; Thu, 3 Dec 2026 22:13:15 +0000 Received: from dev-dsk-araoof-1b-23e02486.eu-west-1.amazon.com (10.253.65.187) by EX19D001UWA001.ant.amazon.com (10.13.138.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.2562.57; Thu, 3 Dec 2026 22:13:12 +0000 From: Ahmed Abdelraoof 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 , , , Ahmed Abdelraoof Subject: [PATCH 0/4] sched/core: Core scheduling beyond SMT siblings Date: Thu, 3 Dec 2026 22:13:03 +0000 Message-ID: <20261203221307.86078-1-araoof@amazon.de> X-Mailer: git-send-email 2.47.3 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-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: EX19D031UWA003.ant.amazon.com (10.13.139.47) To EX19D001UWA001.ant.amazon.com (10.13.138.214) 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. base-commit: 74ce3843347b0fe192e9bf29f46e1a266515defa