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 90E10C433EF for ; Thu, 17 Mar 2022 09:46:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231148AbiCQJrv (ORCPT ); Thu, 17 Mar 2022 05:47:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230232AbiCQJru (ORCPT ); Thu, 17 Mar 2022 05:47:50 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B5D61B3715; Thu, 17 Mar 2022 02:46:34 -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=gyGtFzNeoxStsezjUkQICZnTPdUarjxnpiDNsa6B0WE=; b=WA4v03glmgat2hllQ9wlSLQexd tnKPktAgWSrAZOTMlckmuAD/E3aa4B2WOa+YYl5fc+bHKwSd2e+Qfqb419maoCdNulfCQ0IXvtZE1 jiobU3dnwFBu6n1zW1VVjADF06+GPkeXMiBWNq2bMat8sXBY9lrHk/BHQCk7cRf+FOnfKo88hzQl0 j5TWYEK/f/kkRo95RFldthbnBVNxSBb36DaJeMcqrddCc8ixjU1fSF2myO3YIcJAQi0fEOuhas+cB /rtoztwPtRcPjGJrNs7eP7WW7B0beYa9foYEBf8NiW17OZ/JHQYT8LavxfMpYviCdlH8X86ZgTZrH LzCoQjYA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nUmho-006qam-K5; Thu, 17 Mar 2022 09:46:04 +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) server-digest SHA256) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 3B0813001EA; Thu, 17 Mar 2022 10:46:01 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 1E1B8201CD1C3; Thu, 17 Mar 2022 10:46:01 +0100 (CET) Date: Thu, 17 Mar 2022 10:46:01 +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 2/5] asm-generic: ticket-lock: New generic ticket-based spinlock Message-ID: References: <20220316232600.20419-1-palmer@rivosinc.com> <20220316232600.20419-3-palmer@rivosinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220316232600.20419-3-palmer@rivosinc.com> Precedence: bulk List-ID: X-Mailing-List: linux-arch@vger.kernel.org On Wed, Mar 16, 2022 at 04:25:57PM -0700, Palmer Dabbelt wrote: > From: Peter Zijlstra > > This is a simple, fair spinlock. Specifically it doesn't have all the > subtle memory model dependencies that qspinlock has, which makes it more > suitable for simple systems as it is more likely to be correct. > > [Palmer: commit text] > Signed-off-by: Palmer Dabbelt Signed-off-by: Peter Zijlstra (Intel) > > -- > > I have specifically not included Peter's SOB on this, as he sent his > original patch > > without one. Fixed ;-)