From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fhigh-a1-smtp.messagingengine.com (fhigh-a1-smtp.messagingengine.com [103.168.172.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D0C083A1E81; Tue, 30 Dec 2025 21:23:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.152 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767129840; cv=none; b=PJoxV3p/aABJmvEdy0QIcUVxIxHEoTovAHuEMNxId7gA9ciQvXooREHzDfcIzlfyydKMzKmLhTXVy6z7vBd5vn57rncSl1jrTlZ+K0GoGliQVn2Lh8JOVKoZdvuh9XwbAEWKWpQbMT+Fp3UKZ3GW7QrRWN8SjsR0lOqcZxdzLE8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767129840; c=relaxed/simple; bh=B0ckIWnp3yESlLOmyabv81FO28IAPWS6FyBnhf/gFu4=; h=MIME-Version:Date:From:To:Cc:Message-Id:In-Reply-To:References: Subject:Content-Type; b=sr4yb7HWxSRcGghIwzkIv0hB+l0KOt0Q6UTzFrh0Vhy40wNHnyJLn/n/+/PLpnvU6aGrR2Eepnv85VC9cdU1SvU464F4WvsZXUpUiZQeCa96LYolb30F2wMLi/5TR61OGnCM78cTBmUKrKHkjud9MudijMLwlTdUh+27zWKUK9s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de; spf=pass smtp.mailfrom=arndb.de; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b=p4H65R3a; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=bLUvyc0+; arc=none smtp.client-ip=103.168.172.152 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arndb.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b="p4H65R3a"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="bLUvyc0+" Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfhigh.phl.internal (Postfix) with ESMTP id 1C5F81400085; Tue, 30 Dec 2025 16:23:58 -0500 (EST) Received: from phl-imap-02 ([10.202.2.81]) by phl-compute-04.internal (MEProxy); Tue, 30 Dec 2025 16:23:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1767129838; x=1767216238; bh=B0ckIWnp3yESlLOmyabv81FO28IAPWS6FyBnhf/gFu4=; b= p4H65R3aBxgWEvEChftFpx5WWT6LMxaT4bz0Tk+Nc5LZWcS2nebHs/sZT4Oi8Etb NGGqsgprTmkmGkrwLcHzDygt25mwWHpzQ4OsvMNy/PSmYtOR+YL61N1O+JvNllRa ol/H6+34cgwtFFuxWbR60rSkDrq6rhU00Sn4nvb99oktxslrbm3QLl8/cCOW5SQh 1AZ/hF09Z6gqFzQVzAYH5RuK1ehiapZNibo5Q0zv92WlemUNGcqa9RvgUNRMOvlv sZQkqCHiWIdGv8ogscAAc+pf5Sq3OSbGIfL6XgQ7bw1Y/x+ldRa1ZxG/+Ay2w592 lM75Lh/qgnnWQ9ja+bLHrg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1767129838; x= 1767216238; bh=B0ckIWnp3yESlLOmyabv81FO28IAPWS6FyBnhf/gFu4=; b=b LUvyc0+c5k7XkGskDRpp0yt8Oo4lDgrJPAXw/1XwyvyZE9G15ZoUqHU+3Er/Ob1E N2j5hjIxZW38Wx+7mgR9sySZVPZFkE1ObJuTNO3p5K++4SO7j3sdFeKqd857iuCR W7vsXSnghObX5EiOamxwHwmxrTS5GueLZ0ZDf7IMsbczcBh26bmAgD+6fnp0RO/Q 02Vt+PeAB30L4ky/2v8wK2CEqjxvQZSV0UgY5v9KiFXcgARNsTK1p9DSG08qiVQp DIr8cHV9hfH+x9CF/FWFUH59or69vOFhtO7+dJdG8qI4KQvKONx37LNKDtZHUjcV MsQ/Tr4RFRHgPuCCzw70A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdekuddtlecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefoggffhffvvefkjghfufgtgfesthhqredtredtjeenucfhrhhomhepfdetrhhnugcu uegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrghtthgvrh hnpedvhfdvkeeuudevfffftefgvdevfedvleehvddvgeejvdefhedtgeegveehfeeljeen ucevlhhushhtvghrufhiiigvpedvnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrrhhnug esrghrnhgusgdruggvpdhnsggprhgtphhtthhopedvvddpmhhouggvpehsmhhtphhouhht pdhrtghpthhtohepsghpsegrlhhivghnkedruggvpdhrtghpthhtohepvhhinhgtvghnii hordhfrhgrshgtihhnohesrghrmhdrtghomhdprhgtphhtthhopegthhgvnhhhuhgrtggr iheskhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhuthhosehkvghrnhgvlhdrohhrgh dprhgtphhtthhopehshhhurghhsehkvghrnhgvlhdrohhrghdprhgtphhtthhopeigkeei sehkvghrnhgvlhdrohhrghdprhgtphhtthhopehtghhlgieslhhinhhuthhrohhnihigrd guvgdprhgtphhtthhopehthhhomhgrshdrfigvihhsshhstghhuhhhsehlihhnuhhtrhho nhhigidruggvpdhrtghpthhtoheprghgohhruggvvghvsehlihhnuhigrdhisghmrdgtoh hm X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id AF806700065; Tue, 30 Dec 2025 16:23:56 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface Precedence: bulk X-Mailing-List: linux-api@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ThreadId: Ag1fLqAFCLhc Date: Tue, 30 Dec 2025 22:23:36 +0100 From: "Arnd Bergmann" To: =?UTF-8?Q?Thomas_Wei=C3=9Fschuh?= , "Huacai Chen" , "WANG Xuerui" , "Heiko Carstens" , "Vasily Gorbik" , "Alexander Gordeev" , "Christian Borntraeger" , "Sven Schnelle" , "Andy Lutomirski" , "Thomas Gleixner" , "Ingo Molnar" , "Borislav Petkov" , "Dave Hansen" , x86@kernel.org, "H. Peter Anvin" , "Vincenzo Frascino" , shuah Cc: loongarch@lists.linux.dev, linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, linux-api@vger.kernel.org, linux-kselftest@vger.kernel.org Message-Id: <324be2f3-092c-4796-a7ae-4cddbc65ec00@app.fastmail.com> In-Reply-To: <20251230-getcpu_cache-v3-1-fb9c5f880ebe@linutronix.de> References: <20251230-getcpu_cache-v3-1-fb9c5f880ebe@linutronix.de> Subject: Re: [PATCH v3] vdso: Remove struct getcpu_cache Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Tue, Dec 30, 2025, at 08:08, Thomas Wei=C3=9Fschuh wrote: > The cache parameter of getcpu() is useless nowadays for various reason= s. > * It is never passed by userspace for either the vDSO or syscalls. > * It is never used by the kernel. > * It could not be made to work on the current vDSO architecture. > * The structure definition is not part of the UAPI headers. > * vdso_getcpu() is superseded by restartable sequences in any case. > > Remove the struct and its header. > > As a side-effect we get rid of an unwanted inclusion of the linux/ > header namespace from vDSO code. > > Signed-off-by: Thomas Wei=C3=9Fschuh Acked-by: Arnd Bergmann