Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3891334imm; Wed, 5 Sep 2018 07:36:29 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbDFSICt4YZX64bIaGUZ1nygjK3GbU3ZSvgc2Ef8GDLxjry0RW4YUT10WquVL+/ARxMeMc9 X-Received: by 2002:a63:f616:: with SMTP id m22-v6mr37032032pgh.293.1536158189064; Wed, 05 Sep 2018 07:36:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536158189; cv=none; d=google.com; s=arc-20160816; b=K3Xc5Nn/z0wG2HnvnNoKSQUnUn6sgbrWUigiRnUWlxal0M7V9S7FSyOqAzijPiHVnb zao7kwAS7dkWOEkW/AUIuYxlsxztIu8yPnnWcZOwxTUqsOWsBeqJCZURlhKGq8AV0xPr qglpwjLJ6SYNeHong3JRMLqN3vAnAI93ACBTGhDyE6Y1NFzUj/ozV/oiXNrrEfjJOUby 0NZrkG8I/AeVGV+7nraz2XnM6yXuVF2gMf9QT1qutF1DVM+Q7/0GLFiKTEc1+2L4iOB7 GQoagVsrtXi/3ORNjcAX1w9ZnpNnyY+ZyP2GhPZkqrwgbI9hr1F0k/tBuYaXmFAAtQbT 8AAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=yTAKoxoji26D9fszyeYjoShlIWLclZEovlk5MWgeuXk=; b=yia+NGYOtcqPxLHvtWlClV7JhYY1Xdg2pPcCm+22OGjk14lYQPqud7/ReCWseE7LaU djn3Y8uDLflGqno5/MaAyzGhhdyYx8yDxBnEvymBMOeu28I0THG1Fq5X/ucYgy1vQm/5 J23ZvMGiUii6otFwrJX729eF2ZKPWP4MMrAo7xv0ZnV2RLgx9O5+18n+Djd49D476vo5 Jt4ISQGau/ovuKxH2dnfVgO6Rx/h43vmD3riZRZT67bZYKyONL4KAWHIBYeLcY2TJjs5 yKNUjAmvN+lxgKOEMSqnS+GHJHWKiJwr6/q8a80AE7PldSgcuySzTXcwBTd3wDEgp+xd Lx5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=e3r6rpPi; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u76-v6si2338062pfj.58.2018.09.05.07.36.13; Wed, 05 Sep 2018 07:36:29 -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=@gmail.com header.s=20161025 header.b=e3r6rpPi; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727641AbeIETDl (ORCPT + 99 others); Wed, 5 Sep 2018 15:03:41 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:46487 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727145AbeIETDl (ORCPT ); Wed, 5 Sep 2018 15:03:41 -0400 Received: by mail-pg1-f194.google.com with SMTP id b129-v6so3519130pga.13; Wed, 05 Sep 2018 07:33:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=yTAKoxoji26D9fszyeYjoShlIWLclZEovlk5MWgeuXk=; b=e3r6rpPiwVRjNuVP4O5WtLSjm6IGc9JmeeQN+x37JGACy2yx/Mh80eVFCmicO0IAB/ 3V1YAJY1xfY0GTxPhyOOn4xt+tBKWZpXC45cqVuAbtt/kuu8odQSrpmm5cTxweGHmq+g 8fikZwCl/FNcUQ4bSbAdIyXhfEd18XPvjqlsmpNHV7pSJCTlnlBFC2jFmO8G6FUCceva f142YyHvtDRzam05cbixez6vYoQd6+DfEpldPXfXqqZ6DL49HxXycjI+apgF89w3SU8W iVOUr3xYcNcTB4XEyDHC2mY7im28JBnw0hvLSqsrhE/vBKhCN2iUr6Qy0h2rsAVceocZ fmcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=yTAKoxoji26D9fszyeYjoShlIWLclZEovlk5MWgeuXk=; b=jhoaLUkT/RoGryUWs7zOhmm9DGDcFdw3VXyE2MpasX3M2sasKzqc6CblsQZdlo1zqX JizCJ/0d9WdzicUISwWgse/iU3drXmHjxr26CUgBHArb4/14IkcG0XKigGxVbXKL9w/J 6HKTEjtN4lyG7xKthl8Y/4+UxorXf46zQSzpWM8QabOpT1kf0kZk7Hng/e+5tMPgpls/ nPJyYeCFd04lFreQipRAaN+U8AxqK2MWMlV1zob64H6RhmaFVyTbDTmUV8tbBecODdg4 DOBlPl4k5WTlgay8DINZtvvRGRRSkZAXHEXJmuZMXGEz9TlW6si7oB7KOjRfnehSEdSp z3GA== X-Gm-Message-State: APzg51DB5KXy/J7hNzJ9f7JIvD2iM7JkOMjO2/w399wf8fIp34snu7CI LPwZ2r+fKMWjU3J0Y289YIs= X-Received: by 2002:a63:4e5f:: with SMTP id o31-v6mr36741595pgl.256.1536157993266; Wed, 05 Sep 2018 07:33:13 -0700 (PDT) Received: from [192.168.11.4] (KD106167171201.ppp-bb.dion.ne.jp. [106.167.171.201]) by smtp.gmail.com with ESMTPSA id g5-v6sm5195956pgn.73.2018.09.05.07.33.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Sep 2018 07:33:12 -0700 (PDT) Subject: Re: [PATCH RFC LKMM 1/7] tools/memory-model: Add extra ordering for locks and remove it for ordinary release/acquire To: Andrea Parri , 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 References: <20180904081144.GA4137@andrea> <20180905072151.GA3185@andrea> From: Akira Yokosawa Message-ID: <50f0a7a7-0521-f833-34c3-132ce57dd777@gmail.com> Date: Wed, 5 Sep 2018 23:33:08 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180905072151.GA3185@andrea> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? 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... Akira > > Andrea > > >> >> Alan >>