From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 25E174070EC for ; Thu, 19 Mar 2026 23:32:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773963123; cv=none; b=I11h4aWNoFNjzMlg+rYDyHPCL8B3MQnRLVgZSw94xZqWGPqfHqTtcLPm4/Rx7eapu/sAtSfCkm+xSyvCI3fMcktbN5buFAjCD/fmCfpCQy+oJGkB/1O+oMW10qLz/dvlLs/6YHNvbQpmQvWTEU02s6ext/1b2O/ITmWndFyYueI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773963123; c=relaxed/simple; bh=lXlv+jAiqME9NKpHYWRrufyFF48yNtkGtZdWzzKcssQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=X4i7cW0HtEseOZGbVvZpKPT2BKcc0krmuSf8yn3g0ajq8xuE1aKUscE234rSPBEgu+BEsivh5QcSKWYrXeNzS1f+JqK+TigNwJi7nxV6n5DC2mBF23uTO+fUjA5tUIcpHi6I7qm0fcUVM5qxlJTOTQcabX2MMXy6zleA89JPe5U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=c3aW7b49; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="c3aW7b49" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2E5DBC19424; Thu, 19 Mar 2026 23:32:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1773963122; bh=lXlv+jAiqME9NKpHYWRrufyFF48yNtkGtZdWzzKcssQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=c3aW7b49d0Qifd55/fp2Cm7UrFq7AM/K6e5CEZV5eeWZ7Q3lJCEHtdBT+aWfRYn8O rVGZQ/lcOif+3stnAGZfQ4alMbAFoCZfg3YLx5dyQ3a1Q2xHPx+4iv5Vq+VQLA3GDr w79iISARKk21KQg/4x9rYNb9BnLNTXaTZ3ES0LWt90d8kPYqxCpwVVGa5WKRULuKnT LlY+3sf+6yNa0fXRe/bNP+WxVnCE+99X8waihN6UdLTKUGJ2KE1sVW+EeGI1WnmtWF VFX2Owvj6RmedEzh+Z6RRgLKPov4TXZ7H/KnaVNL8lyekYV4t4d0E2FHmlHEs7u455 tANrJbh3DamNA== From: Thomas Gleixner To: Peter Zijlstra , Florian Weimer Cc: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= , LKML , Mathieu Desnoyers , =?utf-8?Q?Andr=C3=A9?= Almeida , Sebastian Andrzej Siewior , Carlos O'Donell , Rich Felker , Torvald Riegel , Darren Hart , Ingo Molnar , Davidlohr Bueso , Arnd Bergmann , "Liam R . Howlett" Subject: Re: [patch 8/8] x86/vdso: Implement __vdso_futex_robust_try_unlock() In-Reply-To: <20260319090805.GT3738010@noisy.programming.kicks-ass.net> References: <20260316162316.356674433@kernel.org> <20260316164951.484640267@kernel.org> <20260317081606-6b19f6a3-34e5-4056-9b8b-e9b90028b960@linutronix.de> <87bjgmokb0.ffs@tglx> <20260317120032-5d3d8bb8-27af-4380-9f82-5a132d84a0af@linutronix.de> <87ikatm7rx.ffs@tglx> <20260319081750-6676c5a6-80c4-4904-a53d-e272a5cfaeb1@linutronix.de> <20260319090805.GT3738010@noisy.programming.kicks-ass.net> Date: Fri, 20 Mar 2026 00:31:59 +0100 Message-ID: <874imbmm4w.ffs@tglx> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Thu, Mar 19 2026 at 10:08, Peter Zijlstra wrote: > On Thu, Mar 19, 2026 at 09:53:53AM +0100, Florian Weimer wrote: >> If the the /lib/modules/$(uname -r)/vdso/vdsoNN.so path is standard, we >> can use it in the link map, at the expense of an additional system call >> during process startup. It isn't just a performance cost. We've seen >> seccomp filters that kill the process on uname calls. > > I've always though it would be a good idea to expose vdsoNN.so somewhere > in our virtual filesystem, either /proc or /sys or whatever. Yes, exposing this through a virtual fs would be really sensible. It's not a lot of data. VDSO debug info is ~40K extra per vdsoNN.so and vdsoNN.so.dbg compresses to ~25k with zstd. Converting that whole thing to a binary blob and bake it into the kernel is nor rocket science. Thanks, tglx