Received: by 10.223.176.5 with SMTP id f5csp1309835wra; Fri, 9 Feb 2018 17:05:56 -0800 (PST) X-Google-Smtp-Source: AH8x227/newbjxhxq+9MEaF5bJDLSwQZQTwgXTRnxLOGQJMgGO1G+VcWUMZjjHqN/ycw71PLJzhu X-Received: by 10.98.170.15 with SMTP id e15mr4587898pff.207.1518224756570; Fri, 09 Feb 2018 17:05:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518224756; cv=none; d=google.com; s=arc-20160816; b=GcKIqUjEtYqpJTiPe5qrK0znHS7VjISgTiMLCMB5yxDE4XH+nmbCPsjPr5D+YyoddV bwxewcL4QWsMP1T1lwXA0RgZQwyHJNb0fq2ie7iCWVtTx+fy/ot936LiSCt487HA+RgG 74vzVtqSezmTNFJD3QbmbRxhjowVnCOTVmcXjRxdS8bl9OrO3/JEtdJxYwqB44MYIX5m UAeKO31lmKmmI8iMB5F/U2n0OuZF7srX4Zl3uTRVmryrSxhe6syAnW0IrkLBJX5OJxI5 pGj7vcV+qD3/JTZLTF/qonjqTkDpV2fPLsbINr8FZSy2zIEYT/g3RmTIZObw5hwBCT32 8LkQ== 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=6JsxRqtKhgIFZwCwhvDo+Ej058IRRveQNv2lsOPuzv8=; b=ZvcTaKMWwtmFiTPfM11a86RIprDJfzY4UMXDSuxVlwoRzzDOk04yRHZP9UlgZn3F3r WTDFr2X/pgDmM/ZHfUDXhflAbJw0eEbtIAwpscG9Wg+qk2Xwg5ncnz8rKmVWIvqIppdr P3KGkNpm0SERt51k4yqF/JuQQD300CTfbJuVprMBdUlSjDFeUiQXVMgKy0GEmFdMesp8 YNhKdcLy3L9qxP8JUv3B6aXNH4q/PJbZisur8D0s1hhIBAuW+JcdGnX7BHA1M88ShwZY 5OvPp5DwZMMFzomaxD84oLiUnfoP8irZbweRW8GafNbS9e0bJ7LV8Ynpq/At5Eer0Q+X 7mpg== 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 j75si2049695pgc.156.2018.02.09.17.05.40; Fri, 09 Feb 2018 17:05:56 -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 S1753391AbeBJBE7 (ORCPT + 99 others); Fri, 9 Feb 2018 20:04:59 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:53336 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753375AbeBJBE6 (ORCPT ); Fri, 9 Feb 2018 20:04:58 -0500 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w1A13bOY133909 for ; Fri, 9 Feb 2018 20:04:57 -0500 Received: from e19.ny.us.ibm.com (e19.ny.us.ibm.com [129.33.205.209]) by mx0a-001b2d01.pphosted.com with ESMTP id 2g1hjcj89g-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 09 Feb 2018 20:04:56 -0500 Received: from localhost by e19.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 9 Feb 2018 20:04:55 -0500 Received: from b01cxnp22036.gho.pok.ibm.com (9.57.198.26) by e19.ny.us.ibm.com (146.89.104.206) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 9 Feb 2018 20:04:51 -0500 Received: from b01ledav003.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp22036.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w1A14LfB49872986; Sat, 10 Feb 2018 01:04:50 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C7796B205F; Fri, 9 Feb 2018 20:01:45 -0500 (EST) Received: from paulmck-ThinkPad-W541 (unknown [9.85.175.29]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP id 26F84B204D; Fri, 9 Feb 2018 20:01:45 -0500 (EST) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id BBFAF16C124D; Fri, 9 Feb 2018 17:05:03 -0800 (PST) Date: Fri, 9 Feb 2018 17:05:03 -0800 From: "Paul E. McKenney" To: Alan Stern Cc: linux-kernel@vger.kernel.org, mingo@kernel.org, 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 Subject: Re: [PATCH RFC tip/lkmm 04/10] EXP litmus_tests: Add comments explaining tests' purposes Reply-To: paulmck@linux.vnet.ibm.com References: <1518186031-17997-4-git-send-email-paulmck@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 18021001-0056-0000-0000-000004187EE4 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008506; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000251; SDB=6.00987442; UDB=6.00501212; IPR=6.00766800; 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.00019471; XFM=3.00000015; UTC=2018-02-10 01:04:54 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18021001-0057-0000-0000-0000084FF141 Message-Id: <20180210010503.GD3617@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-09_14:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 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-1802100011 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 01:46:30PM -0500, Alan Stern wrote: > On Fri, 9 Feb 2018, Paul E. McKenney wrote: > > > This commit adds comments to the litmus tests summarizing what these > > tests are intended to demonstrate. > > > > Suggested-by: Ingo Molnar > > Signed-off-by: Paul E. McKenney > > [ paulmck: Apply Andrea's and Alan's feedback. ] > > --- > > > --- a/tools/memory-model/litmus-tests/IRIW+poonceonces+OnceOnce.litmus > > +++ b/tools/memory-model/litmus-tests/IRIW+poonceonces+OnceOnce.litmus > > @@ -1,5 +1,15 @@ > > C IRIW+poonceonces+OnceOnce > > > > +(* > > + * Result: Never > > + * > > + * Test of independent reads from independent writes with nothing > > + * between each pairs of reads. In other words, is anything at all > > + * needed to cause two different reading processes to agree on the order > > + * of a pair of writes, where each write is to a different variable by a > > + * different process? > > + *) > > The result should be Sometimes. Right you are, and better yet, the memory model agrees with you. I have fixed this, thank you for the careful review! Thanx, Paul