Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1324532pxp; Thu, 17 Mar 2022 07:20:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzZ9Ly/7MqD6ZeeSBE4TOAjIbp5uP0UbqqyaXE/bY2izp5bOCLvoqWGQFRVdv8eothiYUME X-Received: by 2002:a05:6402:909:b0:416:6f3c:5c1d with SMTP id g9-20020a056402090900b004166f3c5c1dmr4724813edz.108.1647526841218; Thu, 17 Mar 2022 07:20:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647526841; cv=none; d=google.com; s=arc-20160816; b=D7dJyDdeAm/LU5UuUzXv0BXLiwwHOzeEMnfTjHPqFveiSdy31EI+IDyMopk8ETzRGJ h9gVj+5KRLlNulJGRs4xprI1NuezH05th1vYmOlIQqBbF/9bhbK4bz7ewCx4crkmrguZ ez9BFi5OEbkYnq4dB6r0xCwbSrfTDy/kElrrL9jhktfRQHYbiciQZBPvghuaX6spCUFR FJcZo5JOvps+WwFWCfYQnPagG9yBwR2yfcjdZSInoMyrdUhBf4HHYixUCEvsbzv9Q706 24v0FC5TNfap5lr9GcbfQZI3Qnv37uSC7ppkkTz93+8yM9tk1+tDbkKNgG+tP8s0Ub5B ygfA== 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=yicCny8nHaglYevrNfwan/4wAlISyppq00h0F352WzQ=; b=v83cdhAD6chyYF1acst2irh4xjg+MtznUoVXB0nl8roZ6aBRFlqeFkVZSosWc8T6h5 NyFaSyllIA+QgHC2qYciG9ejEmzHgN8xoMGED3n+Vi8nLh1SX/2oeRWXDgf8JKWRdHi4 3/SBoa8ga8RTF9jNAIF9fWqYetDLzDuVCGv/m75ehpKFWaLCDEzduDjKI3k6bgVH+TJo ILk7zLn2ZFiKEZx09OHExozFD73af7UN8GQu0AUd7iiAqfBClU1u+xd6StqdUMSIEE2i kyUbScJ/iNr5hqyYURQQF3bRRRbhg7JQoDDEV51+7e59YGGxoHBeTtZ/5Fepe50QSYTP WDzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b="ZP/S7WXk"; 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 ga11-20020a1709070c0b00b006daaccc9629si3186043ejc.517.2022.03.17.07.20.14; Thu, 17 Mar 2022 07:20:41 -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=desiato.20200630 header.b="ZP/S7WXk"; 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 S232242AbiCQJta (ORCPT + 99 others); Thu, 17 Mar 2022 05:49:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232238AbiCQJtY (ORCPT ); Thu, 17 Mar 2022 05:49:24 -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 58767B88; Thu, 17 Mar 2022 02:48:01 -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=yicCny8nHaglYevrNfwan/4wAlISyppq00h0F352WzQ=; b=ZP/S7WXk4z47FcQpOt16Es+QV/ mHBHwX5fKFAqB8OgbZx6AiTNt2RxYoE7tq5GQMY90fLYxK6/+nm9tykIoDW6vqVP4G2ukcTEADEBt xTLqFxudQwo2nW6cZU+XiilIkB+IDfwTxFFUn6Mt4IkcHz/l2pEAptD8I3aZS29muBfzLygCcMLX3 1Kb+fFyLIhNjMo0ZetK9ycqowu+OHIRYtXuPYuf9udj0ItwyLBisExr02IE0e3JrCp1LalMULVDbJ ZTWlZtcgsXUjWkVG8EH0OFTk1/yBNApnj5Ov6khXYYCURE8gsJPglhG4z8rbwVPPubCILUaopumkh t7Zr+Wsw==; 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 1nUmjJ-001qtK-La; Thu, 17 Mar 2022 09:47:37 +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 CC7883001EA; Thu, 17 Mar 2022 10:47:35 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id BD191201CD1C3; Thu, 17 Mar 2022 10:47:35 +0100 (CET) Date: Thu, 17 Mar 2022 10:47:35 +0100 From: Peter Zijlstra To: Palmer Dabbelt Cc: linux-riscv@lists.infradead.org, jonas@southpole.se, stefan.kristiansson@saunalahti.fi, shorne@gmail.com, mingo@redhat.com, Will Deacon , longman@redhat.com, boqun.feng@gmail.com, Paul Walmsley , Palmer Dabbelt , aou@eecs.berkeley.edu, Arnd Bergmann , jszhang@kernel.org, wangkefeng.wang@huawei.com, openrisc@lists.librecores.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Subject: Re: [PATCH 5/5] RISC-V: Move to queued RW locks Message-ID: References: <20220316232600.20419-1-palmer@rivosinc.com> <20220316232600.20419-6-palmer@rivosinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220316232600.20419-6-palmer@rivosinc.com> 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, Mar 16, 2022 at 04:26:00PM -0700, Palmer Dabbelt wrote: > From: Palmer Dabbelt > > With the move to fair spinlocks, we might as well move to fair rwlocks. s/might as well/can/ ? Note that qrwlock relies on spinlock to be/provide fairness. > Signed-off-by: Palmer Dabbelt