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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 11C81C433F5 for ; Mon, 16 May 2022 08:12:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241523AbiEPIMp (ORCPT ); Mon, 16 May 2022 04:12:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232312AbiEPIMk (ORCPT ); Mon, 16 May 2022 04:12:40 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A177836B72 for ; Mon, 16 May 2022 01:12:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; 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=eiYtkPr379tjgIeHrhL5b7a25VnUHqGENKulJkuEAMo=; b=AcVK5kk5wt8NmqoWdQ+P+MH6x2 cygyLNNaVD7VcF6OD/SIPxYwnt3E47B04DUAMJmVeFzrw4q2Aze+usNYypwL3npyDaoXgyOo/63wG gzQPFEnGFCjC+gdfXdc6EeCVCj/zoHKF6ljvxXlv+okTEKPl42oSVg8k+HFxoEf0xgzePIVKjn9/N GTYwOZ5w0RpaOhKRAMze2e65hpCGBtg9ekN+uKcGPKa0aV25aS9wjYjJyX1jTXGP66oY9YGOl9HSK 6+wWxLHMJaA+zhNIjw08kNjKXxdqsXKtX9ItBtNHnMxnhzDuoDhtQa98DfRLVmqydPcqOX2wst268 2sQkfbvQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqVpx-000u7S-MG; Mon, 16 May 2022 08:12:19 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id E12C230018E; Mon, 16 May 2022 10:12:14 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id BFF35202674C4; Mon, 16 May 2022 10:12:14 +0200 (CEST) Date: Mon, 16 May 2022 10:12:14 +0200 From: Peter Zijlstra To: Uros Bizjak Cc: x86@kernel.org, linux-kernel@vger.kernel.org, Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Will Deacon , Boqun Feng , Mark Rutland , "Paul E. McKenney" , Marco Elver Subject: Re: [PATCH v3 0/2] locking/atomic/x86: Introduce arch_try_cmpxchg64 Message-ID: References: <20220515184205.103089-1-ubizjak@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220515184205.103089-1-ubizjak@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, May 15, 2022 at 08:42:02PM +0200, Uros Bizjak wrote: > Uros Bizjak (2): > locking/atomic: Add generic try_cmpxchg64 support > locking/atomic/x86: Introduce arch_try_cmpxchg64 > > arch/x86/include/asm/cmpxchg_32.h | 21 ++++++ > arch/x86/include/asm/cmpxchg_64.h | 6 ++ > include/linux/atomic/atomic-arch-fallback.h | 72 ++++++++++++++++++++- > include/linux/atomic/atomic-instrumented.h | 40 +++++++++++- > scripts/atomic/gen-atomic-fallback.sh | 31 +++++---- > scripts/atomic/gen-atomic-instrumented.sh | 2 +- > 6 files changed, 156 insertions(+), 16 deletions(-) Thanks!