From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 714A4C636BE for ; Sun, 22 Feb 2026 21:34:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:References :In-Reply-To:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=rgmmQsEfm4qUaEvvt0zlTKZ3mGWc+JLW308T2f/oMG4=; b=bbrcEsdQ8Ozvuc Mj9GHe2oWMaa8T7+FR8OMutpPcZb0+oUTscL2jQ56oGNeejI4xr4z0J3y7/1kZ5tUWmaMkPH35uyf Ch4RCrPzsLAX+1MNH8Q+9yzSna+UtfaGDeh5/+fOLKt66Vy6DAUiWmncw3sZqAOr/QDH/RCuki5y2 DNdoEbDNVeIhLQPPTkfuOhg5/tcdmCqy9KIOjtUe3YKX5q4NvmcJcjyf5iPBJXjuy+fA/96PFze7C 35ep/sW9sx5zAnWIf3EWBZvdaya+qVQJ1hz0a9k0OmjMZZcY74x+D4xsACLo3fmUaEWVlH5+daVNT beR43iRXgt5Dt9c/L5og==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vuH61-0000000GxgX-1Z3x; Sun, 22 Feb 2026 21:34:33 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vuH5z-0000000GxgI-2zjs; Sun, 22 Feb 2026 21:34:31 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id 899A460121; Sun, 22 Feb 2026 21:34:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3118FC116D0; Sun, 22 Feb 2026 21:34:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1771796070; bh=MoM4gAfGlJ1ngKCroMgt6s8hQQRUOv2GP6lsvWBTYTk=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=F3kE5G5YSHiCVZ5mOwWBQ1EmkdZUUxri8FWvUUe1+bPk6Car0R0kut2uvNuYHVkAa g8IvAYcI7E8/6hHCb/jrPziQTKClMwrJ6H0Y/aYHLJyimbtr/frfU8CLViovCDA9UV HIObLbqEucr9FrLIbWX5/hRoPhPnR0+zxQyrVmCTdNaMIGloFGLnnqKAP5W6Ewm6w7 I/owa0GiWqAQBaI4TmPdDfE67f10RHZ+BDAgtt/1JTGJALkdfXpJeUzGxFHrjR/KHe NiTE6uiB4kCm6q8SZrGgK2AZmAXo4GAErDwos4utQpdh9gKlK0o0vXjumdP0UVYmSi KhiPc2AZqyPxQ== From: Thomas Gleixner To: Ryan Roberts , Catalin Marinas , Will Deacon , Huacai Chen , Madhavan Srinivasan , Michael Ellerman , Paul Walmsley , Palmer Dabbelt , Albert Ou , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Ingo Molnar , Borislav Petkov , Dave Hansen , Kees Cook , "Gustavo A. R. Silva" , Arnd Bergmann , Mark Rutland , "Jason A. Donenfeld" , Ard Biesheuvel , Jeremy Linton , David Laight Cc: Ryan Roberts , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, loongarch@lists.linux.dev, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-hardening@vger.kernel.org Subject: Re: [PATCH v4 3/3] randomize_kstack: Unify random source across arches In-Reply-To: <20260119130122.1283821-4-ryan.roberts@arm.com> References: <20260119130122.1283821-1-ryan.roberts@arm.com> <20260119130122.1283821-4-ryan.roberts@arm.com> Date: Sun, 22 Feb 2026 22:34:26 +0100 Message-ID: <87ecmcwjh9.ffs@tglx> MIME-Version: 1.0 X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On Mon, Jan 19 2026 at 13:01, Ryan Roberts wrote: > I tested an earlier version of this change on x86 bare metal and it > showed a smaller but still significant improvement. The bare metal > system wasn't available this time around so testing was done in a VM > instance. I'm guessing the cost of rdtsc is higher for VMs. No it's not, unless the hypervisor traps RDTSC, which would be insane as that would cause massive regressions all over the place. So guessing is not really helpful if you want to argue performance. Thanks, tglx _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv