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 064CFC46467 for ; Mon, 16 Jan 2023 15:10:59 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jA2E+9EAovwrPgPqZEkbYJk7tcZRbVB6F7ZRO/TEtCI=; b=g2l5YiWAh/yTbj t8hQJhue/SNaYtQZ23vrEbcL0gknChv6NWqc5OJ75apY4rL7npAmEc+d/LFXj7hx6h/jFUSqrtMAl P5JvXeTIAD6cNSyG8PCcfj3vwQ0CT0pyTttvPIkvGTmwvU3710L5NQx8ig00hAPRjCjvivxt8cjKB 8Bt26V2Vp3pRSZchaeO6i68iljNKzyYfKHJj9mfHPMVQ4xOf7A1g0NVvHfZx6y0R7yIjAXlJAYN0A 7q5PoigIRuHZ0wdfBN1/kV1DxtZJsK/0lNL1uxvtjYF4D93ORZrl0IETd1CCUZcTfhRK+foNZ6dZK 7YlU5nGzYV4JWuRWYqHA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pHR7Q-00B3WJ-FC; Mon, 16 Jan 2023 15:09:52 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pHR7O-00B3W0-OL for linux-arm-kernel@bombadil.infradead.org; Mon, 16 Jan 2023 15:09:50 +0000 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=JYw4vYNo6I8ONL1oEHQpMq0Clr6CFL2bXHpSXpJOtI0=; b=E7mc3QbKC7DPlTHSAjTqru6OUZ Kcs0+09JF2aMv6SI5wQOt5rSq0BM8ct5mlPnirn/4I6QRcjS0hfJBo+x3Ny3hfq1FoEia6+CcSw4d Ln3RqowsC/MpEce8Kaq588urT3GLTAs6FzQ7UQfh7+V2rdRQYSJ1zK5+bWn6CaJPOBY5p4U4BOzV6 OtOBMBvR44bGeLU2GMbt0MEeofc23vH+kjnBDDkuASHVjacOFQrEzK+xeBE2UyppGDUIV5I1CfgzX a2UFVC3h1+gI1FCNORS0EaQAVLf46ZAG4YoN1e0EblBtA+2QEp5Fu/0Q/Wk4pK4A2ckvbUgUn9jWZ B2kGePaw==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1pHR7V-008puo-Vx; Mon, 16 Jan 2023 15:09:58 +0000 Date: Mon, 16 Jan 2023 15:09:57 +0000 From: Matthew Wilcox To: David Howells Cc: Linus Torvalds , Nicholas Piggin , Mateusz Guzik , linux-arch , Catalin Marinas , Will Deacon , Michael Ellerman , tony.luck@intel.com, viro@zeniv.linux.org.uk, linux-fsdevel@vger.kernel.org, Jan Glauber , linuxppc-dev , Linux ARM Subject: Re: Memory transaction instructions Message-ID: References: <1966767.1673878095@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1966767.1673878095@warthog.procyon.org.uk> X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Jan 16, 2023 at 02:08:15PM +0000, David Howells wrote: > Hi Linus, > > I'm not sure how relevant it is to the topic, but I seem to remember you > having a go at implementing spinlocks with x86_64 memory transaction > instructions a while back. Do you have any thoughts on whether these > instructions are ever likely to become something we can use? Ever is a long time, but not while they're still buggy: https://en.wikipedia.org/wiki/Transactional_Synchronization_Extensions and not while they're not actually available on a vast majority of x86 hardware. ie AMD needs to implement them, make them available as standard, forcing Intel to enable them globally instead of restricting them to those who pay the $2.50/month subscription fee. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel