Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3767684imm; Tue, 29 May 2018 13:17:46 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpls25t2JetChNQAMJ12wIAS2pYm/Fm4niOZOdl78GggJ+i3CkEUPjNqlsrcW+8lnBwCLO7 X-Received: by 2002:a17:902:aa95:: with SMTP id d21-v6mr18793270plr.73.1527625066821; Tue, 29 May 2018 13:17:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527625066; cv=none; d=google.com; s=arc-20160816; b=LCeub4qRjb+oYx0SovURN2GEysL63n/8Wy4qhCAStVYku2BhuBTJcQUTAX1eCtWadr G9i5WegefxFMw08Pe/s61JVL0MPs+qa7xcmrB1VN6/ar32GnOBM3t7VmdFoaK/Ureog3 oUHNcm2o6UDC6yWL3fy9ppH/HHH8DdFEvPuraELgYHxxZWA5aOyOAAAv9ioygdgFFJFc BKcr3yl1Y1DLlqwvB1unA4iHmbHqTEDbDLvaEcspVzOKZp5peWyR3jjm76CpZowuftrT unzd+RTXBwE6heomV/hivxdB+sVOCUgqBM7K+I9PANTTccRQStbgf4wExBxrtlqNx1O3 bcIQ== 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:arc-authentication-results; bh=pNtvNhOPpD5XrckiJseQJ7X5ksI7WYkN8cpMetI2SrY=; b=BdOYqyCH+NaPtqN9QZ3NdBPXmtioS0OlYwTBNtU3NsHEZLnQK+VSlPioF6ZVsjrnDT +JmOth8otnfXYdOSokjdn/po0J4NbR595ODq4bTzoLA+mYrsms4Zy0o6k4FZE8tS4RMq q2kFaWaDi0lXXQaDc5Dqo1ISJ12Dp1Ychj3Y9Sn5moF0geoDImEV6P6yQNMEf+2otdAC fp2awsc8m+UwpncBGf0u+wEeT0dFOPaIjGHFbkv0YzdTu04r0Bl+/mvxa67sDHZgm4tr XGLqCQZ1ryw9DU/7EYe6uexbcn3US50/3XnrNcjkeZmwHqqHAiHRK0Ihvoi025OyTtzl v6eg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q2-v6si32943485plh.136.2018.05.29.13.17.33; Tue, 29 May 2018 13:17:46 -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; 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 S966693AbeE2UQs (ORCPT + 99 others); Tue, 29 May 2018 16:16:48 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:47220 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966179AbeE2UQo (ORCPT ); Tue, 29 May 2018 16:16:44 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 448D180D; Tue, 29 May 2018 13:16:44 -0700 (PDT) Received: from edgewater-inn.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 161FC3F25D; Tue, 29 May 2018 13:16:44 -0700 (PDT) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id C0C991AE3E29; Tue, 29 May 2018 21:17:13 +0100 (BST) Date: Tue, 29 May 2018 21:17:13 +0100 From: Will Deacon To: "Paul E. McKenney" Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, stern@rowland.harvard.edu, andrea.parri@amarulasolutions.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, mingo@kernel.org Subject: Re: [PATCH RFC tools/memory-model] Add litmus-test naming scheme Message-ID: <20180529201713.GD591@arm.com> References: <20180525191020.GA5914@linux.vnet.ibm.com> <20180529093050.GB6533@arm.com> <20180529121107.GF3803@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180529121107.GF3803@linux.vnet.ibm.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 29, 2018 at 05:11:07AM -0700, Paul E. McKenney wrote: > On Tue, May 29, 2018 at 10:30:50AM +0100, Will Deacon wrote: > > Hi Paul, > > > > On Fri, May 25, 2018 at 12:10:20PM -0700, Paul E. McKenney wrote: > > > This commit documents the scheme used to generate the names for the > > > litmus tests. > > > > > > Signed-off-by: Paul E. McKenney > > > --- > > > README | 136 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- > > > 1 file changed, 135 insertions(+), 1 deletion(-) > > > > Whilst I think documentation like this is extremely important for users, > > this feels like it's documenting how to drive parts of diy and I'm not > > convinced that it belongs in the kernel source tree as long as the projects > > remain separate. > > > > Why not contribute this to the herdtools7 documentation, then just reference > > that from here? That would also be helpful for other people interested in > > memory models, but perhaps not interested in Linux (assuming such people > > exist ;). > > We would still need at least a pointer from the Linux kernel to that > documentation, but I am happy either way. We probably need examples of > the common cases, but probably not a full exposition of all the available > herd7 edges. Completely agreed. > Should this be in the herdtools7 documentation, or as added detail > from a variation on the "diyone7 -bell linux-kernel.bell -show edges" > command? If the latter, I suppose that the ones coming from the .bell > file might simply be labelled as such. Many of the edges aren't specific to the Linux kernel, so I think they should be part of the diyone7 documentation. We could then describe only the additional edges added by the kernel memory model (e.g. "Once") in the kernel documentation. Will