Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1673582imu; Thu, 10 Jan 2019 00:42:06 -0800 (PST) X-Google-Smtp-Source: ALg8bN5Icu9fT+YhTVavmvt4XcIDThiJ67w6D37YUckBNnzRjMBhFVg+oXDdxqJ8oIl0txOjFvrR X-Received: by 2002:a63:e84c:: with SMTP id a12mr6326082pgk.241.1547109726189; Thu, 10 Jan 2019 00:42:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547109726; cv=none; d=google.com; s=arc-20160816; b=Yql3JnBoCebrmnds0jGGMdM7bNsLSgrnL7/nQWLTnoYFt3xBTQc9ybDYzA/dFJcITJ Wj1Vb4wuwST7NWoq1+1V/mxjJxCimYiueFwMsM7t94rdGwZDUEZKAB8HTsoc8+sbNuzk D/qbA/Cg+On/P2YFaHpqcFpAk0tEXy18TKvT0/XWqGzqyyusbPq+5SMS/Rvxf6gHngot HrntDRGUJMTHBcUdMZm+eiztVIfhsh1Lx3AOgoD0MDUecy/Jskd7l74bZW9D6qOFbMlH 7VzrlXzRW7NJ14xJHLKy2sFeSpHj5ODz1tmyfSvFq6crmiPiO+4WLdpE0hbi3AxGWCoX 6O8w== 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=98FL2Mc+pZhWlIkCB3cJghJefXL3nIxx18oqEaDCE7w=; b=jPTNydjElsDGuxeJwbFSCdB/CZPUAbReEc3Dm9Z/PgpwVGu8h0KEptVHma02HDvr2k csksbLcle1idG5CVddNkuzi1aBT4R9k3kvZg+uwzhRi3cf9Wg2kfZQaKOMY3/cxrMeb3 qfZjM8VDDg7gwWj3cfztH/IudauYuT/bEqSC6wAcfJjpm9El9C40+H+yMfTaoBYmYfae V6pnT1os64C5ndlcCGcLsWrMKrbPOEkPcHcssj7G9F5KrZ01NjOfy5h6AMjrlozdv0Du gEq+KsoCV6Evgs6zeSH/D/fk9Plz5jqPe20QZZAc0LLhra8vBh285vCmO+bdqia4b1TP 2gkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Puj1bOI4; 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 u11si44895806pgo.474.2019.01.10.00.41.51; Thu, 10 Jan 2019 00:42:06 -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=@amarulasolutions.com header.s=google header.b=Puj1bOI4; 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 S1727619AbfAJIkj (ORCPT + 99 others); Thu, 10 Jan 2019 03:40:39 -0500 Received: from mail-ed1-f67.google.com ([209.85.208.67]:34950 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727342AbfAJIki (ORCPT ); Thu, 10 Jan 2019 03:40:38 -0500 Received: by mail-ed1-f67.google.com with SMTP id x30so9546229edx.2 for ; Thu, 10 Jan 2019 00:40:37 -0800 (PST) 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=98FL2Mc+pZhWlIkCB3cJghJefXL3nIxx18oqEaDCE7w=; b=Puj1bOI4tAfCnMbXzPgOoWP7cTyT0iJVjgdoNzkKcDX2LNBPB4Fwp2eexOzfmX5wG3 EEHVM7ME//8ZGNxiA/rhc38VIrzQRp+SrL4ExvSrbrWVULbQf10kf457OdLkJdmZGP7o FS/x/88Kd+O7+xwsCIahCAC5wXS9Fjn+l7ovk= 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=98FL2Mc+pZhWlIkCB3cJghJefXL3nIxx18oqEaDCE7w=; b=F6Xy4gQ1g3jlTNvIBAbMEpJWLms84OfeK9N4T292zPkcXnLdmuW2FtYJO4Q+q0DXom nJG/x4rpZwCIWh8hxKkGuSgi/rg4uCtIkzbVfM5+8Da/qGih+ALLf8QPV1fw/c8UGavM 2DNqiDMpZDmssmw9hcfBx/B/wz1GyPlp+bSM5RXoVmC+OkZah/u1Cbbq7/0sf0d1aE2h chS6ZpI9E/ZseQUVKl/omsPsb3MIsLiw5iQlH8m7X0PkDVHkWG/OPojN4eFZqvcBCNm4 hYVTxM0LIzSJ/Nc4J5JGrdKArFn33e0/9bFVhcM4O5YNj652dNuV4wkObcYZfd9wpejm pwfg== X-Gm-Message-State: AJcUuketykHyQMYchjDYzwx0tFNicc8jh0ghn9XGzlaOIbg9p3AxTSaJ gLwHds5/cxaBkm1VHF7HU2vOLQ== X-Received: by 2002:a50:999b:: with SMTP id m27mr8980396edb.10.1547109636558; Thu, 10 Jan 2019 00:40:36 -0800 (PST) Received: from andrea (86.100.broadband17.iol.cz. [109.80.100.86]) by smtp.gmail.com with ESMTPSA id r7-v6sm995408ejs.36.2019.01.10.00.40.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 10 Jan 2019 00:40:35 -0800 (PST) Date: Thu, 10 Jan 2019 09:40:24 +0100 From: Andrea Parri To: "Paul E. McKenney" Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, mingo@kernel.org, stern@rowland.harvard.edu, parri.andrea@gmail.com, will.deacon@arm.com, 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, willy@infradead.org Subject: Re: [PATCH RFC memory-model 0/6] LKMM updates Message-ID: <20190110084024.GA10280@andrea> References: <20190109210706.GA27268@linux.ibm.com> <20190109231852.GA4494@andrea> <20190109234043.GD1215@linux.ibm.com> <20190110003952.GA4354@andrea> <20190110042027.GG1215@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190110042027.GG1215@linux.ibm.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 > > > > It seems that > > > > > > > > 1b52d0186177 ("tools/memory-model: Model smp_mb__after_unlock_lock()") > > > > > > > > from linux-rcu/dev got lost; this also needs an ack (probably yours! ;D, > > > > considered that, IIRC, you introduced the primitive and RCU is currently > > > > its only user.) > > > > > > That commit is in -tip: > > > > > > 4607abbcf464 ("tools/memory-model: Model smp_mb__after_unlock_lock()") > > > > > > So it has already left my -rcu tree. ;-) > > > > Oh, you're right: now I see the commit (e.g., with "git show"), but I > > don't see the corresponding changes applied to the tree. > > > > https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?h=locking/core&id=4607abbcf464ea2be14da444215d05c73025cf6e > > https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/tree/tools/memory-model/linux-kernel.bell?h=locking/core > > > > Is this expected? > > Are you asking why it is in -tip but not in mainline? I am not sure, > but given that the merge window was over the holiday season and that > the length of the merge window proved to be shorter than many people > expected it to be, I am not too surprised. ;-) Mmh, let me try again: $ git clone git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git $ cd tip $ git checkout -b locking/core origin/locking/core $ git show 4607abbcf464 commit 4607abbcf464ea2be14da444215d05c73025cf6e Author: Andrea Parri Date: Mon Dec 3 15:04:49 2018 -0800 tools/memory-model: Model smp_mb__after_unlock_lock() $ cd tools/memory-model $ herd7 -conf linux-kernel.cfg after-unlock-lock-same-cpu.litmus File "after-unlock-lock-same-cpu.litmus": Unknown macro smp_mb__after_unlock_lock (User error) [aka, linux-kernel.def in tip:locking/core does not have the smp_mb__after_unlock_lock() added by 4607abbcf464] Andrea > > Thanx, Paul >