Received: by 10.223.176.5 with SMTP id f5csp1007485wra; Fri, 9 Feb 2018 10:47:27 -0800 (PST) X-Google-Smtp-Source: AH8x224VO+G4ud7V98qzmX4Ezd4HjCqqOXcx5NbqCuhS7ZiVirjHZo391tpe8+UAijzftUdv4W2N X-Received: by 10.98.95.65 with SMTP id t62mr1379958pfb.11.1518202047291; Fri, 09 Feb 2018 10:47:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518202047; cv=none; d=google.com; s=arc-20160816; b=AMVMs2aodJtNya6KJUMhjUORM016LdvvU/LL9XmlwZ0j49r3jwnF01pFBHh8P+wKXK 8a0vPvY3nhnTrBN5zRqL07LCSpUbnwzkAw/Vv3dWi6ZM75RMA2iF5DENpkMRngCxpkup 5lkeIE83tT7QV9A1WZuSRq3F66rlkpRH7ut4b4ISfnrFqiYYsWWNpSVg8uDd99R00eqO ppUOJD6aHB8mls6wpMH2F8F/8d7u1qrvM6g0W/hR1KRjuHllneWfp71iUr+fspVQFXiE RiITleuM5vdpPPB+gS83+GD8CKye8VPDttBLPF+u8UuZ+i1bUtEZFC+mnwkMx8x67Ind H4jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:in-reply-to :subject:cc:to:from:date:arc-authentication-results; bh=2BjXJ6piMf+1i+LP39cW9kc5VfL61absj7icVgCQe3Q=; b=cQ3No4em+Tj9zUen/Jxewc/MsJoIMriN70U9uUSHlN8w0uQGwKqtcMvcuW9uZGeQtU CmdNvcFj+Z1zjfXMMLxeDlG+HLVnEYzfQ7DtdsBE7o7miuojKkt/oKJLQs/c/7T2Q64i NTZz6v2OeBhlCRHVve/YiguiK2kKSRqDnhKDaHFYDgfWWBKjvT1Cf1QWxart54B+ib3d Mc5qEvTjiIRaIDGkjzwzOplHLF677Oznfl0TTI4hPPhYeUuVFgW5p6lRPD6nBLhpBQL8 Fr/0dtT+ckKUv4kbEie8FdnXtbVpFTzgkDfsqyVDOac5yu1kbFR55Cj5zkihQ5VhBMld uX3Q== 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 z11si2058881pfj.351.2018.02.09.10.47.13; Fri, 09 Feb 2018 10:47:27 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752190AbeBISqd (ORCPT + 99 others); Fri, 9 Feb 2018 13:46:33 -0500 Received: from iolanthe.rowland.org ([192.131.102.54]:39218 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751004AbeBISqb (ORCPT ); Fri, 9 Feb 2018 13:46:31 -0500 Received: (qmail 4266 invoked by uid 2102); 9 Feb 2018 13:46:30 -0500 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 9 Feb 2018 13:46:30 -0500 Date: Fri, 9 Feb 2018 13:46:30 -0500 (EST) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: "Paul E. McKenney" cc: linux-kernel@vger.kernel.org, , , , , , , , , , Subject: Re: [PATCH RFC tip/lkmm 04/10] EXP litmus_tests: Add comments explaining tests' purposes In-Reply-To: <1518186031-17997-4-git-send-email-paulmck@linux.vnet.ibm.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Alan