Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp4015705rwn; Sun, 11 Sep 2022 03:23:07 -0700 (PDT) X-Google-Smtp-Source: AA6agR4LC8GlF6UNric0tIMbqbJPpdipM9zX/Y5MG5puZFcQiTHTAkDnsHTWTNnzzhNo2WnsWRdD X-Received: by 2002:a17:902:cec4:b0:176:be0f:5c79 with SMTP id d4-20020a170902cec400b00176be0f5c79mr22332261plg.40.1662891786803; Sun, 11 Sep 2022 03:23:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662891786; cv=none; d=google.com; s=arc-20160816; b=P9SDw3Ew+tJ+BQ/0GQ5bz5vA+wgDhAkpNFfCn5qaqxnhtbXwRdUFSHofCwuxnzlozo koBYn4RlnbR1HzrpJ+HFftXoMRpgOfZB1TfJNAHtjrw5+JB7n2HrsipGEiT/HUm5BhwP ptvray+XknZwpyt0Zq4vJxnbsVc813NEsov00PKt6sNUO8ef3VEf9kClIhrlthkQ+z6p 2ORJ4SM+eC4fsBD+0KkXAL0h5eaGkIbK+bH+ETvDYUkt32hokdtmEU8OZ09oSlWq7iiO O4MPoObnmu+fvJAtBSJydCytmtlVwPD9UmE/hGHbTgm01+u8ZPdwyZIFPN6rExMTa6hr wi1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=LI2Uo6Tmdemv51kW6UJr3TCKiPY+3GJGH3hoofYFDu4=; b=IlzTwT1yfpOzcdOFzFsG7IlqCVNSCh9YjVga9jzQunT+EjVLDCRsL8zSAxJ5x1qNPa ytep5IstQ4ohrSxoTghGRd/2FHLhqkelK1NtQG690mJPjuDAzRlZUiW34kc666mXihRk HqV1uWLiMIqqo5RYLrRJN9jNOqAM++hfERumkbju/gkoHx37i3wbJExYvpMq0mUtpJGs 7Hr6A2Jizyt8I/D5PqVgtWaBENgDlBNj0OrASrAPoAk9Fdvl6EBOx3c3FZ/C/62repoA jilBhGLXxn490HVzTP9VLuUvm7Y2NC/2qzF1tFknZXw4upJLbDzYZY7Lkza+Feok+v/x LnXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=RhFokGjK; 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 j32-20020a63fc20000000b004341b1b5e62si6023312pgi.137.2022.09.11.03.22.54; Sun, 11 Sep 2022 03:23:06 -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=@joelfernandes.org header.s=google header.b=RhFokGjK; 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 S230048AbiIKKVT (ORCPT + 99 others); Sun, 11 Sep 2022 06:21:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229992AbiIKKVQ (ORCPT ); Sun, 11 Sep 2022 06:21:16 -0400 Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 529B33869F for ; Sun, 11 Sep 2022 03:21:10 -0700 (PDT) Received: by mail-io1-xd2d.google.com with SMTP id e205so805911iof.1 for ; Sun, 11 Sep 2022 03:21:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=LI2Uo6Tmdemv51kW6UJr3TCKiPY+3GJGH3hoofYFDu4=; b=RhFokGjK2j5RbQPHD9NcTCbkQ+lTMfJ+4AIyq/YtM2l/gzcYspCapBPQBc66Ulkt/8 k1f8BSdZAUPsj/4YHRFyMnZR4PlgnOnWKZ5xxzEkf/ZG9t3pEsJ7jEICidKDF6HEdLNo wmqyBrEoW7ixTWTJK19vZBZMwnpfcv8uc3vgw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=LI2Uo6Tmdemv51kW6UJr3TCKiPY+3GJGH3hoofYFDu4=; b=cEaIBme+m2yizN9bxfs96MGDQ7DOvmf357fyuOLzU3yYnZ4FBVYjJ5VyNoWrsCaQCt PQrPl/vnUW+aeNzZ6aG5fxEextRxg8BPqswCBQ/AxtWr4GW9n9DPGnf1rBh6vpq0p9/Z 90wNOsdGI8WXEZnCK0nw5V/MtVl6XoNrGPIKwrcMx2Mx+gnYX7PPcpq5o2skbp0PVkr9 jwBjVGxpSOa+Ps8IyblGMj9SH1uVtPM2vZ5Udoco7avDkF2eY5YvTIoSHgbnzOe1rBL0 +ItEEnzssxwVccNEP4goK7GGD2Sq+cEkB9LyTUQcNCaf0sGv+Ey1e6Eb5gfQ9jUa/fkh iNAg== X-Gm-Message-State: ACgBeo0fgEEt0JbQyKF3jQICo1oaZyH8H5WrVhug75DJnJyOZCH+6Ak3 qK0wD/gr1zbhko/KocCVrSkbysueE/UyghXp2pI/Ww== X-Received: by 2002:a05:6602:2d09:b0:688:f387:aab5 with SMTP id c9-20020a0566022d0900b00688f387aab5mr9973334iow.107.1662891669755; Sun, 11 Sep 2022 03:21:09 -0700 (PDT) MIME-Version: 1.0 References: <20220826124812.GA3007435@paulmck-ThinkPad-P17-Gen-1> <674d0fda790d4650899e2fcf43894053@huawei.com> In-Reply-To: From: Joel Fernandes Date: Sun, 11 Sep 2022 06:20:58 -0400 Message-ID: Subject: Re: "Verifying and Optimizing Compact NUMA-Aware Locks on Weak Memory Models" To: Hernan Luis Ponce de Leon Cc: Alan Stern , Jonas Oberhauser , Boqun Feng , Peter Zijlstra , "Paul E. McKenney" , "parri.andrea@gmail.com" , "will@kernel.org" , "npiggin@gmail.com" , "dhowells@redhat.com" , "j.alglave@ucl.ac.uk" , "luc.maranget@inria.fr" , "akiyks@gmail.com" , "dlustig@nvidia.com" , "linux-kernel@vger.kernel.org" , "linux-arch@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,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 Sat, Sep 10, 2022 at 4:41 PM Hernan Luis Ponce de Leon wrote: > > > You were quoting Jonas here, right? The email doesn't make this obvious > > because it doesn't have two levels of "> > " markings. > > Yes, I was quoting Jonas. > It seems my mail client did not format the email correctly and I did not notice. > Sorry for that. > > > In general, _no_ two distinct relations in the LKMM have the same propagation > > properties. If wmb always behaved the same way as mb, we wouldn't use two > > separate words for them. > > I understand that relations with different names are intended to be different. > What I meant was > "wmb gives weaker propagation guarantees than mb and because of this, liveness of qspinlock is not guaranteed in LKMM" > I wonder if this sort of liveness guarantee (or lack thereof) is really a problem in practice, where writes will eventually propagate even though they may not for a bit. Is it possible to write a liveness test case on any hardware, or is this more in the realms of theory? Either way, quite intriguing! Thanks, - Joel