Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2789606ybk; Tue, 12 May 2020 08:12:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEi3f9vabIYsg/4ASa7rNsfUIArIemsEIQ10rYV4iQursnJPlbO0mWDWnQvOjU6b/e4LpY X-Received: by 2002:a50:ce55:: with SMTP id k21mr6376948edj.77.1589296325575; Tue, 12 May 2020 08:12:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589296325; cv=none; d=google.com; s=arc-20160816; b=s9Zsp3geXtilSgDTZoZ6T9iBcgJ5DfKZI93g7q+SH57cD4b0Yp9U6kJFaeGeY6eKwt i9TP43VZZgQhoLXK9cl8GR144C7IyUEv3VwMPEZcoia0uT5SkaxNkK3k8ca4JbvfVRsM HyQPZ9IDPmjuQz6WbtjjqdwBmiNKkf1jPc1jGRO0vPiQyxPJ4bfSFI6YD4y/EWh9D3BW 9BycCka7FWOzQ8r6F7EbJ/MmdlJ+Jz4507wekOZo6s14YyKlR2SVYddZLDGoUKDSu97G uopoUpcjDkYcCUAjOPr0QfiIe3UaGJBjJ4rI72VFpomVl+ua/CDT6A5wnwmKdE7vio+4 6bug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=0TU9phia50Kr8gEoVpaq8VxyNOROUqRKj1SwNNfGXzs=; b=T/l8aiiMd2KixAqo/Hun8844gzxvT8YImkb50UXOXSYdFLLKzjvLzTtZPw6gsSRxBw xPpPOZafHovv3SKfZ4kboEj/JSGDdFZ/rFF0eKaXltH2bHrivlmZT+zNyj5fZ3G72I6i GHo0TFNDyGlSJjN5Q1ajGCfwsTIirB1ZiD7NNN/QbmqhHdnRyDCkwX+hrlBClPJgo8uQ 8/wr+Z47/fzkVvdOcF9uw6i+qNvKztb345Z4cI+eEvYZbUGql+x7mX//VDRDFsCc5Jqr nIosq29m2qXzsvhGfgJZCnJai41g6eKSoofzLssynck/wNJrK8LDBk8D0hSb2eJL1n+x gFfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Uc4IEDrg; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q27si4586622eja.131.2020.05.12.08.11.41; Tue, 12 May 2020 08:12:05 -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=@gmail.com header.s=20161025 header.b=Uc4IEDrg; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730873AbgELPHL (ORCPT + 99 others); Tue, 12 May 2020 11:07:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730516AbgELPHK (ORCPT ); Tue, 12 May 2020 11:07:10 -0400 Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B463C061A0C; Tue, 12 May 2020 08:07:10 -0700 (PDT) Received: by mail-pl1-x641.google.com with SMTP id t7so5506144plr.0; Tue, 12 May 2020 08:07:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=0TU9phia50Kr8gEoVpaq8VxyNOROUqRKj1SwNNfGXzs=; b=Uc4IEDrgeYoxV1CSYknk2emJMTMTKXaxReu0E7u/OI4G8D6QWf3lyX28PWWz4tp/Wz BPwi0f7zhZ6dj8M9UpaQqMtOPaUbmZrSlrTDV9KHAoQChtrP5/NbRJUgXOGM1OntaLDp 3eSLRoAZBK+x+4Gn/4KVsITawEdevyMFGSgvY1ah8KGb3aBiY3/8Qol2JYeN755x/dY4 4RAGK2cTxNuBeLWmjTYB160VlXUn0kgGRZS2HYRqriAF1dM87FvgSkOewuVKqcxjuUwC JU1NVWdFvOWOJtKFYAkP84LXxnjc4FgBXuFgTiMPGLNWFBfEIo2MtJwvxacme32Rh1VS 2xsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=0TU9phia50Kr8gEoVpaq8VxyNOROUqRKj1SwNNfGXzs=; b=JMbmeH4WJzdCU70jvSSTK8i9EWMRGpkRftDqL/Lii6cynmk/tY3GivWmltY0LCG6Ed z0p5xZKMMnRqZhw5p2xp9/2a/+r+KLss8Izl1VQI+AYD8MYeWQRqfvLEadsLmwXo5cwQ tzqrwJ1lSCyvi6/pvxRFU76y8NOlOFT8LTCjMxhF6RDsCWUsMbT7dG2MbVAaEwWMeM0P VHYQagtQvGv8EZYpChkT+fAa2fybaaQOjJa18zaAiyzRswprMoiJMPSc+3oos+0y6V2C 9shblCBdxIAWAXRxB5YVJK1FYUGRox/z5eAKvHEstvvlYvUDNj0+SkqoCfQHC802YVna Qzcg== X-Gm-Message-State: AGi0PuYHD60ekn2iovcqpO6UywzbwKAU/pQLVti2XRsWXtcPMGGvf87S /TJmjxq6ts6ZZPaHw4Zbytw= X-Received: by 2002:a17:90a:3a81:: with SMTP id b1mr28365385pjc.184.1589296029623; Tue, 12 May 2020 08:07:09 -0700 (PDT) Received: from [192.168.11.3] (KD106167171201.ppp-bb.dion.ne.jp. [106.167.171.201]) by smtp.gmail.com with ESMTPSA id j13sm13353615pje.1.2020.05.12.08.07.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 12 May 2020 08:07:09 -0700 (PDT) Subject: [PATCH 4/3] docs: litmus-tests: Clarify about the RCU pre-initialization test To: "Joel Fernandes (Google)" , Boqun Feng , "Paul E. McKenney" Cc: linux-kernel@vger.kernel.org, vpillai@digitalocean.com, Jonathan Corbet , Alan Stern , Andrea Parri , Will Deacon , Peter Zijlstra , Nicholas Piggin , David Howells , Jade Alglave , Luc Maranget , Daniel Lustig , linux-doc@vger.kernel.org, Akira Yokosawa References: <20200323015735.236279-1-joel@joelfernandes.org> <7809dbfa-7a76-8663-799a-908c4ead8d30@gmail.com> <21e1ba24-22d0-8083-770c-53d320ba5420@gmail.com> From: Akira Yokosawa Message-ID: Date: Wed, 13 May 2020 00:07:04 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <21e1ba24-22d0-8083-770c-53d320ba5420@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.17.1