Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2812993ybk; Tue, 12 May 2020 08:43:27 -0700 (PDT) X-Google-Smtp-Source: APiQypLjlgcSMOPPneAzvETS0Rdum/WMW69ULtWP0muNveejWth4+gVVOlK4YLpqTCW3W7Oi0unS X-Received: by 2002:aa7:c419:: with SMTP id j25mr13649122edq.209.1589298207403; Tue, 12 May 2020 08:43:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589298207; cv=none; d=google.com; s=arc-20160816; b=TXERGZFpg+BOAP1g9Tnxm1xkoIEUXKz0+ETLVHoltZG5VhjmXlMDSjfoeg0oB0qNpJ O4tSGamkr24BCziMo5ieo22q6eKhm+rL95JErGJOs8XSr5eYpnBvdHt8mjIsB3RBXbTo ao5s1DdaRhlw37Ry2pzSKtLVgWabcbD/EcmsTtvaQn6kNUUB5d6p0Sx7720nstl88XhV Z64vuQBNteFvIa/T9mMK5kDkzousCjMsxkg3jdnEnz8zvyAQJTjKVZl4GDTTe6V1/BXZ ZUfJuN+fEkLoHdsDSdIOsBJDIxkBxRzs2jvG7vSRSt5OjWXbrVdjtH1l1Q294fIcMjG5 oqhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=tZEt6Bk+o2CEVmWjiD/tqdGL4EUw3Dt3tU4Mvz4zdyc=; b=SxQcMTglmNJWLMIcEBIreeQNeOTyRpf9j85mlKvECJ9VDRNrhLEH2sArY/uHj9/Iww 2EzisXl4fU9vlO3V2N5zJ4YMiyMVXiR/oxQ4a0bfGyHzdLVTcF5Dywek3WIBQ03Akadg eT5GlJdl8u2BaPkxG1adbIGY3zCqcama52S4nE11I7PNBda27uP88sjbR6CT0P/PxP5+ 0o8Ptquf2mL0xhNNVIkX2bNbsLvX9Kl5zB+U3k71wz0HIN5BaYhjilwrhvpK9vizTpn5 pT9rFuxQ8AozEhgLY6syFLJHrxOPlRfAoczAbGA2xBEem6u8cx6/Bz3saEiRUbPD7De4 UmXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=H50XxLww; 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 gh17si6898653ejb.517.2020.05.12.08.43.03; Tue, 12 May 2020 08:43:27 -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; dkim=pass header.i=@joelfernandes.org header.s=google header.b=H50XxLww; 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 S1727856AbgELPlO (ORCPT + 99 others); Tue, 12 May 2020 11:41:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726388AbgELPlO (ORCPT ); Tue, 12 May 2020 11:41:14 -0400 Received: from mail-il1-x142.google.com (mail-il1-x142.google.com [IPv6:2607:f8b0:4864:20::142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 289F9C061A0C for ; Tue, 12 May 2020 08:41:14 -0700 (PDT) Received: by mail-il1-x142.google.com with SMTP id b71so5877151ilg.8 for ; Tue, 12 May 2020 08:41:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tZEt6Bk+o2CEVmWjiD/tqdGL4EUw3Dt3tU4Mvz4zdyc=; b=H50XxLwwzTwWMTLvuDVA8ZQUXzC+KY+g5iyAm1yq+wFQL3d6R/fX36RMhyGD5h7PXZ YIDGYt6oxNYuPnqStjR10Q81h+vwk3TZabD/jd1vjFFMf1mC+U9mh64EzzhPM439CaS/ QWRFgLt1/d6yzSR2xUyFQZYRUaoTNDcxG1GlQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tZEt6Bk+o2CEVmWjiD/tqdGL4EUw3Dt3tU4Mvz4zdyc=; b=gkkxNBY0mnIG1ZHYcmKOzrkvIWUtfjCpyk31NsRWmHjVHR3yTN5T9xGco4IcQGSnVo gBfImU+Ab8otCL386fsaZZedKD1S7sWEdDfxBnL8jaYSA41iOXnd54qR80VwHLu5ilxO kbs8nBex7nsIbkSfPiXq9Qf1AdarZhBFkwzx3DrA0pdHbeYDoonEYzgzp3rnyXjmqfAs J2ZRg850ymrKNSPFhERU0Bx+DBVY6hImcbrK5uRqBr7msWtY/+qYkPrpQdSUX0xnavcE XzeoHvlJfWqUC8eRl9ftoDXgeRgfhTzMajB9jqRlPXL44zNPxP+OnF686pu2touqspeL 1c5g== X-Gm-Message-State: AGi0PuaIJj5lJZJ8kobL26cYzvksavI+90+xRpIh1iwCCgjWi4za3zNl xKcT+dEfLtk+l0Kpv9V1J403LzdlmmrELwfx7xNJ4Q== X-Received: by 2002:a92:194f:: with SMTP id e15mr22969825ilm.78.1589298072514; Tue, 12 May 2020 08:41:12 -0700 (PDT) MIME-Version: 1.0 References: <20200323015735.236279-1-joel@joelfernandes.org> <7809dbfa-7a76-8663-799a-908c4ead8d30@gmail.com> <21e1ba24-22d0-8083-770c-53d320ba5420@gmail.com> In-Reply-To: From: Joel Fernandes Date: Tue, 12 May 2020 11:41:01 -0400 Message-ID: Subject: Re: [PATCH 4/3] docs: litmus-tests: Clarify about the RCU pre-initialization test To: Akira Yokosawa Cc: Boqun Feng , "Paul E. McKenney" , LKML , Vineeth Remanan Pillai , Jonathan Corbet , Alan Stern , Andrea Parri , Will Deacon , Peter Zijlstra , Nicholas Piggin , David Howells , Jade Alglave , Luc Maranget , Daniel Lustig , "open list:DOCUMENTATION" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 12, 2020 at 11:07 AM 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? Yes, thanks a lot for doing it. Paul are you Ok with it too? thanks, - Joel > > 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 > -- > 2.17.1 > >