Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3922205imm; Wed, 5 Sep 2018 08:03:41 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZUztuDvNEYvER0StBsD0FAwFe62gq5ZXJZr2IUmqrRXAJ9tha9f0CtPhPlDhXbTNUjQ+dI X-Received: by 2002:a63:cb0f:: with SMTP id p15-v6mr37534688pgg.197.1536159821596; Wed, 05 Sep 2018 08:03:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536159821; cv=none; d=google.com; s=arc-20160816; b=kjOjcQy4ARkC3vBHp8TUHyinO8eGT1ABhMcoXzVHsP8i3nPWRskmxLlcWLDU9qhket bUBTTkTNdV/qY46sI++LViZalbLaYNsogKKucCEoUwGvFejRDPi+pc1mcWY90pMld6fI aWlA8wnboqgRVcwSBc+Lr9SMuuFN+dPiykP1VSh8fgBHEk3AmDlZb8zoDkOwmTUs4/Om jh/nFXpjfGuBfbaRzJkwJ8QuDH5nY9yRqdETgS6s6hiWn+/eTwdJDx3FhoZteWkpKalg HBEKPBT6bNmiOcCUglu2FSUeRReN0UvnLd7P6Zg7ozSt2bXoSYPrintbiCmnI4IzMudH 2fcg== 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=Fl5YC/uL2Ga3BlbxdZDqOXCIXV2JwtzS25+9X5Csy6E=; b=e4OWeqmWATEg0gu9DQdjfC6oFjjacE0IbgtHx+6hsBnJ0EQo9cUg8JooaUpBr2uDax RDkvKzkNeJ5ChvMoixo66QOt54CYA1U7h7eC2fehLPyeG+Cf123kwbvAiLdEo2ygKR+R vIeVnLpDK0m6vzLkHbRxW53QOnGvGhH3Xy+sL9dKRsfNFdXVOVTmHpvFfENJzYonxusV ES5n7LeJalmqa4XNMVNRotMhHfqzMdp1EjmSnmq7oWVTsTa5DLULmMqn180jJoMISuo3 MuR/ibe0pjRTGarx0rAmSjx2X2mKF9OilNGeID+pfAGtLKz2f79/JdImdNVw3q1EKh4w 9ajA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=B0kTOX4W; 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 q1-v6si2107923pgs.322.2018.09.05.08.03.24; Wed, 05 Sep 2018 08:03:41 -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=B0kTOX4W; 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 S1727628AbeIETb0 (ORCPT + 99 others); Wed, 5 Sep 2018 15:31:26 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:32882 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726046AbeIETb0 (ORCPT ); Wed, 5 Sep 2018 15:31:26 -0400 Received: by mail-ed1-f66.google.com with SMTP id d8-v6so6372106edv.0 for ; Wed, 05 Sep 2018 08:00:50 -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=Fl5YC/uL2Ga3BlbxdZDqOXCIXV2JwtzS25+9X5Csy6E=; b=B0kTOX4WC1fHj32kBIjYMXDm48kt2+Rjx79ZY/oPD5l94PZusj4wTzPpjWTyOvYok+ DZpAht0MjqeSPbOIGcMytEeDOHs5cGlh8PrxY6FmdBKfzyku9PoKu0mfp3GmPbgjWVz5 Wt/69um0oP9y0qP2vOihyr0XrovwMc/pwTzSc= 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=Fl5YC/uL2Ga3BlbxdZDqOXCIXV2JwtzS25+9X5Csy6E=; b=GxgL9wGCXaYCfAbrL5BeHOOYrqZ3xbdyLtW6logWcy1wuJaRMv8hXq3is3FjsbDrnC CkjXYtc6jE0roVmSSZDBltQh8Q6AXP01YHMbLVfrILELtWg7j/YasIFUtkQ085opt9ny QuvDsdIhaasUvOV+xxN+lhDhZjbMtNXIvY9ci/BrOSJ7pcHHLFyrTmjPBlfjXkbiE20+ bimmPpwtAq74Hz5Tg19jWJ2xLKylYLerdR5TbaESnpYgViJbKfpXMw90oW2GHb+4ncUC hRGPuv3D1F4dEfZ149G8WKWns1f6fKMzBWHfeyzInz9LHW4IDDZtsAHDpofGHWqTJJnl duUA== X-Gm-Message-State: APzg51AKV9VviAVN0b2p1m6IpsUNY7HPnpwaLClJNd8hAdtuxXEscbi2 mqCkzIQvYIE/CnmXADOFZUgLyQ== X-Received: by 2002:a50:e185:: with SMTP id k5-v6mr36478111edl.195.1536159650329; Wed, 05 Sep 2018 08:00:50 -0700 (PDT) Received: from andrea (85.100.broadband17.iol.cz. [109.80.100.85]) by smtp.gmail.com with ESMTPSA id n15-v6sm921528edn.44.2018.09.05.08.00.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 05 Sep 2018 08:00:49 -0700 (PDT) Date: Wed, 5 Sep 2018 17:00:42 +0200 From: Andrea Parri To: Akira Yokosawa Cc: Alan Stern , 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 Subject: Re: [PATCH RFC LKMM 1/7] tools/memory-model: Add extra ordering for locks and remove it for ordinary release/acquire Message-ID: <20180905150042.GA8820@andrea> References: <20180904081144.GA4137@andrea> <20180905072151.GA3185@andrea> <50f0a7a7-0521-f833-34c3-132ce57dd777@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50f0a7a7-0521-f833-34c3-132ce57dd777@gmail.com> 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 Wed, Sep 05, 2018 at 11:33:08PM +0900, Akira Yokosawa wrote: > On 2018/09/05 09:21:51 +0200, Andrea Parri wrote: > > 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, by saying "Yes:", do you mean you have something else to be added? Indeed (examples in the trimmed text). > I don't think you do, but want to make sure. > > I'm a bit surprised to see all you wanted was the amendment of the > commit log... Well, I said that it was my only current constructive argument... Andrea > > Akira > > > > > Andrea > > > > > >> > >> Alan > >> >