Received: by 10.223.176.5 with SMTP id f5csp428479wra; Fri, 9 Feb 2018 01:12:31 -0800 (PST) X-Google-Smtp-Source: AH8x225eY8IvCe5GalwYVyAA86Oyb7fnW5TjC2Ps26nDIjTGBQtfu0HJskfVhjzs8SACsHmlwOuT X-Received: by 10.98.139.196 with SMTP id e65mr2154659pfl.128.1518167551170; Fri, 09 Feb 2018 01:12:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518167551; cv=none; d=google.com; s=arc-20160816; b=RFs7qHaqWCEnit2pHFVBuB8uvSfufyGd7qsSCS2pBPJa4Ga+q7grBCVPjYLvCOshx1 r/rYCqYKWjot8FoZNCoQWbv05wFj84Gz+e1Vyg9dvHhFjvVnOf8veicZP62g9ZUegJv1 6TLuw4y4V5LJguJ3zhssCrFIteeK02XjahRKctMKMCWs9RnILZ6aTLMqbJw0vZJ0YtAE 7nAZGXWnqgPQYBy4jwnwO8C7y9XFQDHv9sSbUfLrx5hJzfCVaWxL6nTgI2MgEA6rk+Zf 9RrSC/OH3K7DcNYGy6jEDvzwXdDlni40/ZH6QmQGpi9siJx3dgFLD4oxOC84HivN7MYW b8PA== 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:arc-authentication-results; bh=B0h5UkWk8mNN9kRHWcguPF/498m0MDXpLX/BlwwW6vs=; b=DKXmKP1TcrQSBpE5lFXcwqGqKHkjEmBuoYT2TdHkM5IVQyX0SSGDZkbVB8PUiAW1ZB zMsicD18GwIKhRmLqfzHId4I7Ttu/Ws/eXOGCuQekOHTwrWiYapYF8DNLf5kJ1XJDTzZ QKkaNJhpo1uqfhaYfHo5D6tusW5+GzGOPJFqHfkQz5yHZbu9GMFb9HjZb3ofdpTrY/ok SdV+xLkdkrI/C2MDMOa38/2T8nnwjK2dnsHQomg2ko29k5ry2D14m+eI8fftGYdSSz49 7KN0BwSqPDxlGGVti6U0FjaxfBkHSS6KjtvxaeANfm5KTcU6yggZEJauavRZbp4P9vIp XFnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=V+wkX7NZ; 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 a25si1431281pfg.10.2018.02.09.01.12.14; Fri, 09 Feb 2018 01:12:31 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=V+wkX7NZ; 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 S1751057AbeBIJLW (ORCPT + 99 others); Fri, 9 Feb 2018 04:11:22 -0500 Received: from mail-wr0-f194.google.com ([209.85.128.194]:41194 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750825AbeBIJLS (ORCPT ); Fri, 9 Feb 2018 04:11:18 -0500 Received: by mail-wr0-f194.google.com with SMTP id u60so4718989wrb.8; Fri, 09 Feb 2018 01:11:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=B0h5UkWk8mNN9kRHWcguPF/498m0MDXpLX/BlwwW6vs=; b=V+wkX7NZnukayGpL0q4tN3G35EKrtqeRytlpcSu9Hp9Vq+B6KSoOYoRSAaQDt8PiDx Lc7g0yrkzgFmJrXCzt83ymZAaI37QD7zQvrGSSTdX58LkHZ/s9N362BcRjuugTI1AEGe fOnNwcolz1wgV1g4eH5RYsnHnKgmoLTqrriCrDSD/Kc5cm4PyDO+0Gqrv19qFH7NyDO9 gehoTs4G9vc2ywkl77natMF1dKJJ2lTegi/lUI9+v3tK+opNSTFG5jOg3R9Mf5LySGJZ oLnRPZ4xddkpQe3AkFU9pe/I/ZC3E/hUS068dJUDJPVLV7bI8/DYpL5B7SZjgy0o9w6E gy7g== 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=B0h5UkWk8mNN9kRHWcguPF/498m0MDXpLX/BlwwW6vs=; b=oENstTmhWuveDZOM864g2JreG6YdX3uU2RKraqiC4FxGWTdNT/khJy4w9H5DI5gH5y bPtnrOKe5waTMt/67GnZRW7kbsNG4E9wwc8nRKyFyLbBs8GKv0s5o9QI9XGa29xQzzec Q2ClD2Boqn0GGPf13asjP5Zg5sACuHEvNyPiNG6tyDUE59eORe3UN/9KnEhQKX2FxbMr jG55nRHQKf6uUNNCcrOte9tZwWb3i5wFVIbs6npvRWbzeGTB08vLPwdhIy3mMBOwWCNX PIjqVk4qcuVc21QtAIAy3Yg9GYqiA83tXlWLicur2ilGOvkWlxvdCANVvJRmkfLhC3Kn 6ZJw== X-Gm-Message-State: APf1xPC1+H7u+cGS4HG9y4DmIl/KMobMv72koOontO13jJxBQzhZwWRs W1sr4tnoXkP+l9d6q75BpO4= X-Received: by 10.223.161.154 with SMTP id u26mr1672886wru.66.1518167476657; Fri, 09 Feb 2018 01:11:16 -0800 (PST) Received: from andrea (85.100.broadband17.iol.cz. [109.80.100.85]) by smtp.gmail.com with ESMTPSA id r188sm1825237wmb.40.2018.02.09.01.11.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Feb 2018 01:11:16 -0800 (PST) Date: Fri, 9 Feb 2018 10:11:10 +0100 From: Andrea Parri To: Peter Zijlstra Cc: Patrick Bellasi , "Paul E. McKenney" , 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 Message-ID: <20180209091110.GA14128@andrea> References: <20180125093440.GA875@linux.vnet.ibm.com> <20180208184106.GA17043@e110439-lin> <20180208200219.GE25181@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180208200219.GE25181@hirez.programming.kicks-ass.net> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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,) Andrea