Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3477239imm; Wed, 5 Sep 2018 00:23:57 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaO5EjzFlclW6Jz+WbGDiwfmFPtezB8tRBUhEXyWksE2Z+PrAJ8lDam9gjUxu7a/lwds+tx X-Received: by 2002:a63:706:: with SMTP id 6-v6mr34468470pgh.137.1536132237243; Wed, 05 Sep 2018 00:23:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536132237; cv=none; d=google.com; s=arc-20160816; b=O1xUUXWMUyM9gP+mFJePd3ceGAQhr+rPHfU+lh+Es9+FdYpFI53nsu2ikyEUv3zbE5 JZxHXRkL/1fPOqOCCk2rUU6CT/5pBzRZ7rNARi9ni9jrHBLOXmueDlpUGAenzOSNTt6M 7EuU9WlO0L8RmcPT4cOlSmJ1wfKOxkRJqu6ZLTfO1/SBFAnnUZ/1iI/lxZHh/q07YgpD QOUaxDKN8MR4BMScIG11TccpTpSkXLeAoxhPk+x/Ns3ET0IhUXfNFoEEaxDSeH9QIm4R cuW6RQFyDM13H2a3oiTuzj+0lG3CtiS+fdv1svD76v951BsIgyrOhIuQyW2P0s/zRQfT u02g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Z7jmwhqR0ToEBKz29jaeG83cs/76ebLJCxEE8TDqqLw=; b=QHkbtbe+GwEQZ/krKma6Gmcvyib9nZ5fR6YV+JSiTEzK3ecC359UWuEU6cHryagFFN sIRR8NVpsB9w8KseQAMCE/ClUEqI4GvelyIfcQkWPkA34Rb9fj7TA+YLy0kuXnHzOhRf tRgXPI2arULwy2WQfRa48POmg8jgBpLiXPUgpDGjMmip9cXXoBZLs2DZdEH5xNbBVLV1 1yx/FPd8TczNyBrnLM6+chohmdRVoxjbYU3atMAoWe/CIIOTUF/nCRbxjdbZCYsekTeZ AXaONQEIz7bul2LX6dzjQppRIYhfeNlqH+7+RtKOJ+xcgbklJXJtBUpsKJkl+xQUFtpl bu1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=n006WzUr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x188-v6si1261039pfx.19.2018.09.05.00.23.42; Wed, 05 Sep 2018 00:23:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=n006WzUr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728003AbeIELux (ORCPT + 99 others); Wed, 5 Sep 2018 07:50:53 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:43680 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725865AbeIELux (ORCPT ); Wed, 5 Sep 2018 07:50:53 -0400 Received: by mail-ed1-f68.google.com with SMTP id z27-v6so5226461edb.10 for ; Wed, 05 Sep 2018 00:22:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Z7jmwhqR0ToEBKz29jaeG83cs/76ebLJCxEE8TDqqLw=; b=n006WzUrF+P5G//xc8L3Gpl327WDloE/iDLJKgqxqdL4PFo1a2oIH5SKUWjn9ccOgH 3lTYX4KkFM1s6EH/J8zqP1PhwscPzkpGGzAF1IkWCjJo0BckjEelxwC2Rmom7coeG7WO QlyDt+W8zxBrrEKrB66ex/A5scCGRwaQieWgc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Z7jmwhqR0ToEBKz29jaeG83cs/76ebLJCxEE8TDqqLw=; b=Wj76NoLVo1FWjeuGEjkWurbMAPcjx7OCYIZTVG+HNaH4c1YYqQwVef9aQNl4yWkdyv jfv+cDttiTQKzcxYzTe9zKSI1oEl66On2v82z0DZSAtinhAIcW0/x2/EtwkhD/aBt9oG HHKLhJxJqm1RiKew/tEQ1O8ntGbYns5XP1/8UDTd9iPRey55GzrCMdJZmfiEHfU3Ec9s tW6K294/y2naviPIUAFEQJfEQVveafI0IcNwYNRcNfazZo4V7WRUxQqzqBm1PgR62WDS w6GK9AnM68L84y+1o6/EePGtbplK98rCk5pkNGCgTRr+0vPSDHUHC8LREwjCKrpyZxPX N9oA== X-Gm-Message-State: APzg51CGGZQnS65EWMcZFOO1Dm39HqaqjxUDihOxjQmOcMYqZFzS//Lw ffXCUK6JaaXZX2lRvhy7AM1gTw== X-Received: by 2002:a50:8843:: with SMTP id c3-v6mr41369416edc.146.1536132122062; Wed, 05 Sep 2018 00:22:02 -0700 (PDT) Received: from andrea (85.100.broadband17.iol.cz. [109.80.100.85]) by smtp.gmail.com with ESMTPSA id w2-v6sm981668edw.83.2018.09.05.00.21.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 05 Sep 2018 00:22:01 -0700 (PDT) Date: Wed, 5 Sep 2018 09:21:51 +0200 From: Andrea Parri To: Alan Stern Cc: Will Deacon , "Paul E. McKenney" , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, mingo@kernel.org, peterz@infradead.org, boqun.feng@gmail.com, npiggin@gmail.com, dhowells@redhat.com, j.alglave@ucl.ac.uk, luc.maranget@inria.fr, akiyks@gmail.com Subject: Re: [PATCH RFC LKMM 1/7] tools/memory-model: Add extra ordering for locks and remove it for ordinary release/acquire Message-ID: <20180905072151.GA3185@andrea> References: <20180904081144.GA4137@andrea> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 04, 2018 at 03:09:49PM -0400, Alan Stern wrote: > On Tue, 4 Sep 2018, Andrea Parri wrote: > > Heh, your confusion might be the reflection of mine... ;-) That was > > indeed a long and not conclusive discussion (meaning there're pending > > issues); and I cannot claim to find "arguments" such as: > > > > "More than one kernel developer has expressed the opinion that > > the LKMM should enforce ordering of writes by locking." > > > > particularly helpful (I do tend to be convinced by arguments rather > > than by opinions). In fact, you can take the following as my only > > current "constructive argument" against the patch [1,2]: > > > > THE COMMIT MESSAGE IS RIDICULOUS; PLEASE EXPAND ON IT, AND DO > > SO BY LEVERAGING BOTH PROS AND CONS OF THE APPLIED CHANGES > > Do you have any concrete suggestions (i.e., some actual text) for > improvements to the patch description? Earlier in your message you > mentioned that Will's comment: > > LKMM offers stronger guarantees that can portably be relied upon > in the codebase. > > would make a good addition. Suitably edited, it could be added to the > description. I can think of a few other things myself, but I'd like to > hear your thoughts. Anything else? Yes: I do sometimes have the impression that your "rules" for trimming text in emails/replies are too aggressive... Andrea > > Alan >