Received: by 10.223.176.5 with SMTP id f5csp555550wra; Fri, 9 Feb 2018 03:31:08 -0800 (PST) X-Google-Smtp-Source: AH8x2274bJtzQcKWhfFulgWvbjTrFvqIdzc39hFM+GMj4QSAWoyRY4TPT/VTKz6W6o5zXQWkS6e3 X-Received: by 10.101.65.71 with SMTP id x7mr2118671pgp.379.1518175868091; Fri, 09 Feb 2018 03:31:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518175868; cv=none; d=google.com; s=arc-20160816; b=RtCLwjbYr1LDTFkCmIoTDOAv162y2yTOjJiVAsF4T5nrrz0DwxdjB0hcNFiC+gxN9N KyYQltxOabyFEZc6fZ2FjLCugwzVSXqApSDpZhyVTu5sah8m+EltZnJkXYygcrMppzjC lIjcGcJJkG/CFVDIEibUQoIz+HooZl6Sp6sN2SUKw917Tr1DARjgilKSAF2h4rdYJfMT /EPtlEprN9RKppfdSfr6cHg9Wg0v6EGCP98t5KdukOK/GAok4CSBIxpGyBu9q9wPjpRL fcuQ57BMXuMausxZREu7b3+PRnyFE2oq+mXrzcg3CIGLotlftcmZZ2P3JR1iWIyavaxE qniw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:subject:cc:to :from:date:arc-authentication-results; bh=n6M9o0tIJbRGqhkYiwWLD9DrQS8UWmTFyml1m0L77pM=; b=cL4xIqgaqpjok9zHbEBnwIoE+zhSf4f1/WzMvWzljnJgd6fGzs0f7/h0FpgtdHqoNR D/S4SceSFn7qrOXe+mTBfMzlJtitaA8tVDIOuAMQCQ+EofTqoETGAynakeeMqfv9gHZw sGAO0TO7hpoOufJvWNoJzQkz6KPW+4EGpkvDx5g5LzofO37KI4qIB5Eoazrig+XhtClA iyYbeyYaJdE3jGCEw/dY2w+Kg1Izyj79gMXAcmY+OvWgqoDg9+s4/MN0en1j+cAVX6u7 YTKxaAxtPhMxo6pU7zkoqmFLrf15QzKcqpjtjn1Q4+4OGEE5lPIpQsvc6GmKI3ndW4P8 9cww== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l11si609371pga.408.2018.02.09.03.30.48; Fri, 09 Feb 2018 03:31:08 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751131AbeBILaD (ORCPT + 99 others); Fri, 9 Feb 2018 06:30:03 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:57724 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750924AbeBILaC (ORCPT ); Fri, 9 Feb 2018 06:30:02 -0500 Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w19BTwpg103236 for ; Fri, 9 Feb 2018 06:30:01 -0500 Received: from e13.ny.us.ibm.com (e13.ny.us.ibm.com [129.33.205.203]) by mx0a-001b2d01.pphosted.com with ESMTP id 2g17d31v64-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 09 Feb 2018 06:30:00 -0500 Received: from localhost by e13.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 9 Feb 2018 06:29:34 -0500 Received: from b01cxnp22034.gho.pok.ibm.com (9.57.198.24) by e13.ny.us.ibm.com (146.89.104.200) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 9 Feb 2018 06:29:31 -0500 Received: from b01ledav003.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp22034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w19BTUR752625468; Fri, 9 Feb 2018 11:29:30 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8613FB2050; Fri, 9 Feb 2018 06:26:25 -0500 (EST) Received: from paulmck-ThinkPad-W541 (unknown [9.85.160.93]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP id 98DADB204E; Fri, 9 Feb 2018 06:26:23 -0500 (EST) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id 511C416C5FC7; Fri, 9 Feb 2018 03:29:37 -0800 (PST) Date: Fri, 9 Feb 2018 03:29:37 -0800 From: "Paul E. McKenney" To: Andrea Parri Cc: Peter Zijlstra , Patrick Bellasi , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, stern@rowland.harvard.edu, j.alglave@ucl.ac.uk, luc.maranget@inria.fr, boqun.feng@gmail.com, will.deacon@arm.com, npiggin@gmail.com, dhowells@redhat.com, elena.reshetova@intel.com, mhocko@suse.com, akiyks@gmail.com Subject: Re: [GIT PULL tools] Linux kernel memory model Reply-To: paulmck@linux.vnet.ibm.com References: <20180125093440.GA875@linux.vnet.ibm.com> <20180208184106.GA17043@e110439-lin> <20180208200219.GE25181@hirez.programming.kicks-ass.net> <20180209091110.GA14128@andrea> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180209091110.GA14128@andrea> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 18020911-0008-0000-0000-000002CF2D22 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008503; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000250; SDB=6.00987170; UDB=6.00501048; IPR=6.00766528; BA=6.00005821; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00019456; XFM=3.00000015; UTC=2018-02-09 11:29:34 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18020911-0009-0000-0000-00003833AB8F Message-Id: <20180209112937.GU3617@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-09_06:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=3 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1802090147 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 09, 2018 at 10:11:10AM +0100, Andrea Parri wrote: > On Thu, Feb 08, 2018 at 09:02:19PM +0100, Peter Zijlstra wrote: > > On Thu, Feb 08, 2018 at 06:41:06PM +0000, Patrick Bellasi wrote: > > > Hi Paul, > > > thanks to you and all the involved guys for this useful tool. > > > > > > I give it a try today and found that by installing herd7 by just > > > following the instruction in herdtools7/INSTALL.md, and precisely > > > installing it via: > > > > > > opam install herdtools7 > > > > > > it seems to give you a tool which fails to run the basic example in > > > your README with this error: > > > > > > File "./linux-kernel.def", line 44, characters 29-30: unexpected '-' (in macros) > > > > > > As suggested by Will, by building instead herd7 HEAD (commit 44d69c2) > > > everything works fine. > > > > > > Maybe it's a know issue, in case just ignore me. :) > > > > > > Otherwise, maybe it can be worth to add to the README a note on which > > > minimum version of the herd7 tool is required. > > > > > > opma version (not working) : 7.47, Rev: exported > > > master version (working for me) : 7.47+7(dev), Rev: 44d69c2b1b5ca0f97bd138899d31532ee5e4e084 > > > > Urgh. So that's why it wouldn't work. > > > > I remember Paul saying you needed the latest version, which is why I > > rebuild from opam, but building top of git is a bit much. > > +1 > > _Sadly_ enough, co-developers and I were aware of this issue, > but it was only mildly reported here (c.f., > > https://marc.info/?l=linux-kernel&m=151638196427685&w=2 ). > > This bisects to that (crazy): > > 2d5fba7782d669c6a1cc577dbc3bf507780273bb > ("linux-kernel*: Make RCU identifiers match ASPLOS paper") > > From repo.: https://github.com/aparri/memory-model > > which not only did break 7.47, but also made the bell uglier > by mixing dashes and underscores in a very same block. > > As a solution to this issue, I can envisage a partial revert > of that commit (just replace those dashes); Paul, Jade, Luc: > any better solution? > > (Sorry for being late on IRC, glad this came out here,) Or maybe a 7.48 release? Thanx, Paul