Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp889763rwe; Fri, 26 Aug 2022 17:31:05 -0700 (PDT) X-Google-Smtp-Source: AA6agR6G4wP+pFVyL2VVuG8kcZ8dors640oVSIAYopjYlxZYZmOTA/sG7P4NXMm0FoCO4IUcMJBP X-Received: by 2002:a17:903:18b:b0:16e:f09c:919b with SMTP id z11-20020a170903018b00b0016ef09c919bmr6031875plg.135.1661560265648; Fri, 26 Aug 2022 17:31:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661560265; cv=none; d=google.com; s=arc-20160816; b=V1EjebxPTKUAz6ityqW+W+YLk076RidXjSK/8Q0oZv0ExMqaK+/MilQpbh30MBL+ez yps+NV2k+euBX7uwiYFYBQ6NvsXr2jVn4n83Xtb0fCmt2vF2ityMXHfTm6X3uOe8sb39 nq4lRYhAXZJhmOAZv1qFMc5f4b9uFfG6S4QQKDiAJ6j3EfYT9eXhSADne9/8gaj01lQD G6t/lvKegbtP72NjvJTR/elZY+EKxrhvTPsfCpi+EF01b9R40ULm6oTRDOX7ddu+fbP6 soHfubMnLFiowM5GkFMfOKwQP9SzfSKSGeE4rTeZzZNFOWob14ZBs3dP8LAHgNdMmJvG o4NA== 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=RihkyqkxPM44mhyP+mwM99oIWv5j91aBKkFn/0XdLw0=; b=djep/cTclMsikQPSOFSgN/Z78FsHSP7RdDy4GgXS0gN3uCfLH516OyJHrNz4zt9uKP bxCXRQ6B+eBwzmnqFTFYniDN4pp3crLw4Imyz5pqg1VPj2lUv5rCIku7r40FHVluGLrM yoVbA+In1G+AULdkCsT+9EtWJPt8s1x6Oed0Zk8/mK8cuUDuRe9zHksohzGuUpkYZs+o qMVdO/YZ4K8GSj/UXns96fC/ZnF/W0h+q3Tgpcbgk3CstoojNr9APSTe0x95uLgJPPzS M+RAGBCgg2CPrZpt8ypV8AP3nPNbv9KO4eSqHU8jB2mn+7byHMJkgZprhbas4qiGKN25 9MQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="J/e+vdYy"; 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 88-20020a17090a0fe100b001fb706e96adsi3027938pjz.136.2022.08.26.17.30.48; Fri, 26 Aug 2022 17:31:05 -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="J/e+vdYy"; 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 S1345045AbiHZXsK (ORCPT + 99 others); Fri, 26 Aug 2022 19:48:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231738AbiHZXsI (ORCPT ); Fri, 26 Aug 2022 19:48:08 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85FE8CE47B; Fri, 26 Aug 2022 16:48:07 -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=RihkyqkxPM44mhyP+mwM99oIWv5j91aBKkFn/0XdLw0=; b=J/e+vdYyKTfzv8vbnik9utCg1J 39uMQWQIu/Dej8/Tx74LqhhEmHhwLftQHtTtN+VGHBqPsJ4f/F9Wac40zqlzbpEoHaYdCnkCsUDj+ GUK/pqARY2RcJSibUWdzuSfbHQ5rt00em2ZgZjLnFz03x9/fEvwsV8wktmZrC5EWbK7hjRsuxrgWP dvu7OVqvgDKvJMuaSlfORYhBcUJSMEGSrZldP9GaHUQjRuEXTuP+uoxU8knfDIwnndNbUFu1LBsx3 UeNMNEFKBfIDpA1bNy1mPxd/KjUorQxaYQox2d9EHQGiFAUjUsxZsYGMv96yTkuIlt9lYLHa9IUOq LaZ0KjPQ==; 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 1oRj3H-000xj1-Nr; Fri, 26 Aug 2022 23:47:51 +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 E7074300094; Sat, 27 Aug 2022 01:47:48 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id C51EB2B7E5A5E; Sat, 27 Aug 2022 01:47:48 +0200 (CEST) Date: Sat, 27 Aug 2022 01:47:48 +0200 From: Peter Zijlstra To: Alan Stern Cc: "Paul E. McKenney" , parri.andrea@gmail.com, will@kernel.org, boqun.feng@gmail.com, npiggin@gmail.com, dhowells@redhat.com, j.alglave@ucl.ac.uk, luc.maranget@inria.fr, akiyks@gmail.com, dlustig@nvidia.com, joel@joelfernandes.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Subject: Re: "Verifying and Optimizing Compact NUMA-Aware Locks on Weak Memory Models" Message-ID: References: <20220826124812.GA3007435@paulmck-ThinkPad-P17-Gen-1> 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 Fri, Aug 26, 2022 at 01:10:39PM -0400, Alan Stern wrote: > > - some babbling about a missing propagation -- ISTR Linux if stuffed > > full of them, specifically we require stores to auto propagate > > without help from barriers > > Not a missing propagation; a late one. > > Don't understand what you mean by "auto propagate without help from > barriers". Linux hard relies on: CPU0 CPU1 WRITE_ONCE(foo, 1); while (!READ_ONCE(foo)); making forward progress. There were a few 'funny' uarchs that were broken, see for example commit a30718868915f.