Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp2039559rwo; Thu, 3 Aug 2023 03:58:23 -0700 (PDT) X-Google-Smtp-Source: APBJJlGSR2LPtmE/Q2h1lz5LDJHSXNd8su3qfnDkKuDgi7ryqRHy3zNhjfRpqhskKfxu6wK1181c X-Received: by 2002:a17:906:2111:b0:99b:431b:a5e9 with SMTP id 17-20020a170906211100b0099b431ba5e9mr6910047ejt.45.1691060302901; Thu, 03 Aug 2023 03:58:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691060302; cv=none; d=google.com; s=arc-20160816; b=UyxRT/S99d/zJUom8vWttjHv1oztyvS6sKObD+TeD5QBMARvqv+cTjuhbLl9fWfqkP qLRgQczOtpydr6jbNKURBRiJr+69JQAsS4NvSg8Xbdf8HVq4En3h5aScBaEXnw1RRLbw PsZTpgx1wY6Wq16dgFvydLXay40YCrZlmU52Z/0cj1sZmmjVzMfyviViKEjFxkAKAumK a968m6NIIpbY0AhHPUMyqTmoJqCEX6waHeAJ6qxyLhdEFbFlms92hGyZqLqDXhnQrn7+ gDs8ex2V03goW9oNHuLlqfgJ/oq0sRtjI8ETbaT2k5ehbETlb4lS5XptsiARtSGog7XU UZig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=0Bkf1eqstwa5u7IuR/ir8LatugZOUdwgShvLIz5Uv3I=; fh=h0l4gfSBykqHr6xYzZC04AV1oMpywElI66wujMbsQ3w=; b=fP18Lu6OcPGm8Q7qmppYpN0WOCtfUfvlit6TyTcvXhYwxs/7ikZDmlUBrYrNM37QnU C6XBYCc4hvJL3/gpD6KdXa4pCmr697L7D6N3isITRtkkQu3J1JBMtqcv/KpZmsoZdHKj FHPM/a/gLT0cXXiXkVU4QKLjuIXv8BdobAxvqE1Y9H1s1OfiAqsiLTIVgs5gOKovosOr b7Sx2j0pGfHxJDTppfIrNjvxzYTyR7rV0OBZZG+KrOzyXChW0aZTkKHZQkxNhsAIqDCp aUBJ/yEY2AODvwcae3xOJn2w1YjTQzWblsT537gamETJs0nfIfn3oA67bb7p7L4J0XFe raqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=hIVtD9Ot; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d18-20020a1709064c5200b0099bd6b14081si325550ejw.927.2023.08.03.03.57.58; Thu, 03 Aug 2023 03:58:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=hIVtD9Ot; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232613AbjHCIut (ORCPT + 99 others); Thu, 3 Aug 2023 04:50:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231143AbjHCIur (ORCPT ); Thu, 3 Aug 2023 04:50:47 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9393FEA; Thu, 3 Aug 2023 01:50:46 -0700 (PDT) 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=0Bkf1eqstwa5u7IuR/ir8LatugZOUdwgShvLIz5Uv3I=; b=hIVtD9Otlp2gKLttDQGNytCrfX 4SFxgkulD9iABSeDR7gRbTHicg3RFD0zx0p66Wuj1LV+8AfQKxog31nlOwx8QkIZe3wu/QP7yA2f8 ZYISM/I5Z6t1D4I1SlfS2Pf57VhYcR1gOp2W/+ruh0NzQFFLVmwsMrx/3iOGiBW+kpZiqqnFlvkNB tY/Twau+TVEgJZr29pi5Cehf77JtxFjpsI/8dL48w04zGIQqhHyy3gQLR2PjVT9HkrVzhaEJBFzRx MfS1jNywhbEndtqkCwHNstGEOwwjzvfn7W+0pPla9+tHGOeoFgB8U+dIjIyNKHxoIm15P2ozdCI4+ ugRL7dgA==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1qRU21-002bDp-P8; Thu, 03 Aug 2023 08:50:05 +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 03D7030007E; Thu, 3 Aug 2023 10:50:05 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id DE2B4205963BA; Thu, 3 Aug 2023 10:50:04 +0200 (CEST) Date: Thu, 3 Aug 2023 10:50:04 +0200 From: Peter Zijlstra To: Guo Ren Cc: Alex Kogan , linux@armlinux.org.uk, mingo@redhat.com, will.deacon@arm.com, arnd@arndb.de, longman@redhat.com, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, bp@alien8.de, hpa@zytor.com, x86@kernel.org, guohanjun@huawei.com, jglauber@marvell.com, steven.sistare@oracle.com, daniel.m.jordan@oracle.com, dave.dice@oracle.com Subject: Re: [PATCH v15 3/6] locking/qspinlock: Introduce CNA into the slow path of qspinlock Message-ID: <20230803085004.GF212435@hirez.programming.kicks-ass.net> References: <20210514200743.3026725-1-alex.kogan@oracle.com> <20210514200743.3026725-4-alex.kogan@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 02, 2023 at 07:14:05PM -0400, Guo Ren wrote: > The pv_ops is belongs to x86 custom frame work, and it prevent other > architectures connect to the CNA spinlock. static_call() exists as a arch neutral variant of this. > I'm working on riscv qspinlock on sg2042 64 cores 2/4 NUMA nodes > platforms. Here are the patches about riscv CNA qspinlock: > https://lore.kernel.org/linux-riscv/20230802164701.192791-19-guoren@kernel.org/ > > What's the next plan for this patch series? I think the two-queue design > has satisfied most platforms with two NUMA nodes. What has been your reason for working on CNA? What lock has been so contended you need this?