Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2728923ybk; Tue, 12 May 2020 06:48:20 -0700 (PDT) X-Google-Smtp-Source: APiQypJNd3vr3WHSyeDOW7bSxhUZEtppcR6DZUFwB+B5yIajxYBWOo8AfDDteNMU9yGCe8SPzu1d X-Received: by 2002:a17:906:9484:: with SMTP id t4mr17581623ejx.332.1589291299996; Tue, 12 May 2020 06:48:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589291299; cv=none; d=google.com; s=arc-20160816; b=FCQqObNS7udMqDljf8EHjeNeAEq0H47Hwt6b0IsoswOtV8aW6ciX5QdKoBu0l4VQzj KssUfu2LM279MbRHrSEpqRJX323Fm5/q/K9z/UFyIKjh8je9M4FluMOQstO0ejcfVpPe oiLGe8ISjEVkTatMh8kwOBwVs6VbKiG1j0yfdDCD7/P4yuNgEWiZ7TuyhUBkksPN3GtR Hhu4ih6eIXsZz4TMvrWZqN6hlOB6L2PYbNFsjgzuiTn5jRaEmEqQLUFN/AU8IZ4SUuTN rhp9LteXKkSTwXIn1lstpE3razlgZjwZrtvHsaHtjkC+jfjmMQQ3ieA0uSsU/peoWkZX LFQA== 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; bh=/PlulCTYvilvbGE0ILPd3cmR2gO5975S97h5Lb4QvEE=; b=teRELd9Ge8B0gUURqq74AT3S78dJfdYPQrselAJ9Xq7KUZueWCAHvZ/088DoqAi8fn V3qbJRmm0QCLkuV2M7oZGESlyNDUzZylK6/64H8tUBg0RG4VJd6d7gWXR6ciVO7azbps Z8Zs2R7YVfeuCPTviOdld3ABGNB+yyOBkD39LOP76OHBDfiXuNtI9SLSOGHv7tPMpnLf BFxMdr4bi2MkBSRs94q3ZRN1JOHzXH96D8/lZafTGVMlXyYLfVdoDp8JHgPO1wme/o2m 4yEAZb5nuehGLfpBE8VxRBrA4+Ve4J3h110NNRAsyt7oyEwMm846qSAaMZX/y/kLTXS1 IwAw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u10si7800593ejt.145.2020.05.12.06.47.55; Tue, 12 May 2020 06:48:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730082AbgELNoY (ORCPT + 99 others); Tue, 12 May 2020 09:44:24 -0400 Received: from netrider.rowland.org ([192.131.102.5]:49521 "HELO netrider.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1726891AbgELNoY (ORCPT ); Tue, 12 May 2020 09:44:24 -0400 Received: (qmail 22763 invoked by uid 500); 12 May 2020 09:44:22 -0400 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 12 May 2020 09:44:22 -0400 Date: Tue, 12 May 2020 09:44:22 -0400 (EDT) From: Alan Stern X-X-Sender: stern@netrider.rowland.org To: Joel Fernandes cc: "Paul E. McKenney" , Akira Yokosawa , Boqun Feng , , , Jonathan Corbet , Andrea Parri , Will Deacon , Peter Zijlstra , Nicholas Piggin , David Howells , Jade Alglave , Luc Maranget , Daniel Lustig , Subject: Re: [PATCH 0/3] tools/memory-model, Documentation/litmus-test: Sort out location of litmus test and README In-Reply-To: <20200512021309.GA197229@google.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 Mon, 11 May 2020, Joel Fernandes wrote: > From: "Joel Fernandes (Google)" > Date: Mon, 11 May 2020 22:06:46 -0400 > Subject: [PATCH] docs: litmus-tests: Clarify about the RCU pre-initialization > test > > Since this test was moved to tools/memory-model/, make sure that it is > at least referenced from Documentation/litmus-tests/'s README. > > Signed-off-by: Joel Fernandes (Google) > --- > Documentation/litmus-tests/README | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/Documentation/litmus-tests/README b/Documentation/litmus-tests/README > index ac0b270b456c1..53f09e74734a4 100644 > --- a/Documentation/litmus-tests/README > +++ b/Documentation/litmus-tests/README > @@ -11,7 +11,6 @@ tools/memory-model/README. > > atomic (/atomic derectory) > -------------------------- > - > Atomic-RMW+mb__after_atomic-is-stronger-than-acquire.litmus > Test that an atomic RMW followed by a smp_mb__after_atomic() is > stronger than a normal acquire: both the read and write parts of > @@ -23,8 +22,11 @@ Atomic-RMW-ops-are-atomic-WRT-atomic_set.litmus > > RCU (/rcu directory) > -------------------- > - > RCU+sync+read.litmus > RCU+sync+free.litmus > Both the above litmus tests demonstrate the RCU grace period guarantee > that an RCU read-side critical section can never span a grace period. > + > +MP+onceassign+derefonce.litmus (moved to tools/memory-model/litmus-tests/) > + Demonstrates that rcu_assign_pointer() and rcu_dereference() to > + ensure that an RCU reader will not see pre-initialization garbage. The grammar in this sentence is awful. Should the first "that" be changed to "the use of"? Alan