Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2801436ybk; Tue, 12 May 2020 08:27:37 -0700 (PDT) X-Google-Smtp-Source: APiQypKfUdlE2GVSBW63mvh0P9RkmxONeStWnKOfQLGH9T2f5FfdyXVdRsfSYxMDvwMQ2iDd3Sr3 X-Received: by 2002:a50:9603:: with SMTP id y3mr18244721eda.80.1589297257636; Tue, 12 May 2020 08:27:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589297257; cv=none; d=google.com; s=arc-20160816; b=yHXCFUYWseFvXCvEh1QhHKlB4F+bwZopRkMk2Mb6hAVDPQuUP7MkcmRu15omoaTm48 0OG1fcdi7BQE++Er3lqiUnG6C96/u8fTfKWvzlUfO0aqf698lD5k8wuiivJUG48TXqF/ 0qY858rSzvkDaw/TbrGNBKhsJ2u2CbVGY8xs5zggY5NFWH6aE0660Hk6hwZsuAhF4yhR P/WuIVcTSK6D/UL6XD+ql2K+69yHvwPWZMRw7A8bAzlrrRezarkZoZTlBj3ATbkFDuiD m5Kgi+zAegwxc/uTuqJjwWzAMnfEhsmJCoPtbhY8Mx07Y7eSA7wNDuCBtZfD7TDiIQve GTuw== 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=Gf9/0b/CCo+NIvxpFo/4dMlNs3MYF2g5766+d0+X6t8=; b=LWokrMckiE1f/1+frO4vNjTjrNvaiYVmY7xWZbUuXd1NB67GNKj4B6kQAwZcPrU1MK CqCwwOEIZR43678IwJarvq606y9cQsUoC3+gnh3Zr/n9u9uAMwz/sMcq14h3/KJ70mhZ vxLpSZEhJYr6QhMXMgR8WVd7l006HFY7kpvZQUXux89nf/om2IEa9zIT3w2tO5k99k30 3jCIZFsv7pEwVd6AdmuBymXvjIThKMNfeF4Fl9cUgIBK2eYym3THIOc7FVDteTVLJ2js 6HF+AbcTedoFNN1UZO1B7iImPc3KgFM0y7vwh8/9t7/2AWhy3ckqIyFTp9ZFNZvpOLfY fI8g== 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 x25si6391233edi.132.2020.05.12.08.27.13; Tue, 12 May 2020 08:27:37 -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 S1730457AbgELPZG (ORCPT + 99 others); Tue, 12 May 2020 11:25:06 -0400 Received: from netrider.rowland.org ([192.131.102.5]:34215 "HELO netrider.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1726891AbgELPZG (ORCPT ); Tue, 12 May 2020 11:25:06 -0400 Received: (qmail 2205 invoked by uid 500); 12 May 2020 11:25:05 -0400 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 12 May 2020 11:25:05 -0400 Date: Tue, 12 May 2020 11:25:05 -0400 (EDT) From: Alan Stern X-X-Sender: stern@netrider.rowland.org To: Akira Yokosawa cc: "Joel Fernandes (Google)" , Boqun Feng , "Paul E. McKenney" , , , Jonathan Corbet , Andrea Parri , Will Deacon , Peter Zijlstra , Nicholas Piggin , David Howells , Jade Alglave , Luc Maranget , Daniel Lustig , Subject: Re: [PATCH 4/3] docs: litmus-tests: Clarify about the RCU pre-initialization test In-Reply-To: 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 Wed, 13 May 2020, Akira Yokosawa wrote: > From 7bb979aacd8788d174df8a56e9803ba9e5b7a381 Mon Sep 17 00:00:00 2001 > From: Joel Fernandes (Google) > Date: Mon, 11 May 2020 22:06:46 -0400 > Subject: [PATCH 4/3] docs: litmus-tests: Clarify about the RCU pre-initialization test > > Since this test returned to tools/memory-model/, make sure that it is > at least referenced from Documentation/litmus-tests/'s README. > > Co-developed-by: Joel Fernandes (Google) > Co-developed-by: Akira Yokosawa > [Alan: grammar nit] > Suggested-by: Alan Stern > Signed-off-by: Joel Fernandes (Google) > Signed-off-by: Akira Yokosawa > --- > I said in the earlier message: > > > The explanation under tools/memory-model/litmus-tests/README also need the same > > rewording. > > , but obviously I was confused. It is good as is. > > This is on top of my earlier patch series. > > Joel, Alan, does this work with you? > > Thanks, Akira > -- > Documentation/litmus-tests/README | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/litmus-tests/README b/Documentation/litmus-tests/README > index ac0b270b456c..b79e640214b9 100644 > --- a/Documentation/litmus-tests/README > +++ b/Documentation/litmus-tests/README > @@ -24,6 +24,10 @@ Atomic-RMW-ops-are-atomic-WRT-atomic_set.litmus > RCU (/rcu directory) > -------------------- > > +MP+onceassign+derefonce.litmus (under tools/memory-model/litmus-tests/) > + Demonstrates the use of rcu_assign_pointer() and rcu_dereference() to > + ensure that an RCU reader will not see pre-initialization garbage. > + > RCU+sync+read.litmus > RCU+sync+free.litmus > Both the above litmus tests demonstrate the RCU grace period guarantee That's fine with me. Alan