Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1495616ybk; Thu, 14 May 2020 10:21:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwALxeQrQ+HR6nS5LWuDr3KEcYwdM7p5e+uH3shBpzRb2vSn+BZ2N8FWL1pGCXc1Z+Bipv2 X-Received: by 2002:a50:f09a:: with SMTP id v26mr4991364edl.343.1589476865220; Thu, 14 May 2020 10:21:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589476865; cv=none; d=google.com; s=arc-20160816; b=N2fRLS+yNgcr31yNKmJlWmCeDZ5wsII0sAjqk/hI8fwWubz9iqLdwZN3zefzmcGmC0 teABw1LQhn74bvqPvqBB/Xfmeg5y6EgY+3nW0CpZVRgT9uYPJpwqPKdSQpF8n3IaKUqi Eou6DVW+pIk3XK69rWfs7eUK3FOGz2aXZzPNEHMLFTIrYjasu+hKPAJ2NwMD8pLUkPz0 7YXmeF9xW6kx+j3H3ag3v9vByzza5puIQ7LjRNi4S5DATWOQZw6s2gazO5BGiQVaDiNF SFLWb5q5QaOSY63QAdccJSK2DH4pVWq6bCQmUMLgZtX/EqyuYWivxoYRiPuulQERWBCr q47w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=IgDDKAGT9cLw9MGmYw62L1InTTFqZ7skkUWC5eDFiCk=; b=S6MjWtzv+JnmT3ISPv/T2wMS1Dnkg7vE1xV6s4Xct6GWPbGFE5U+/YLmfuS3WJmi/e H+sctL6Se9epvNviWs0VPaETLArYuECkHw2LNGP6mfIDWMUZbSMF5s7xGlHqzEEilYOT WrIhUS95oBs2oJGyDNZ300nb5OsyTOX3fpPSMw+Ipr3/5cluSU4Fj5Es3AAdS0Z8UW8d uo4dSRHqJ1PccZdvpiaWONODD+bHs+sWy4n2d97PxLl/Y0Qatk6KiGMjo03lXYxBCErB HeXawSfxqHaowr8KyGquojWEO35wjpLgzaiQCJeDDf5rDhjot1wkGUPwA3JBGTo3N70Y +3TQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=zNpksnBj; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c26si1717541edn.456.2020.05.14.10.20.41; Thu, 14 May 2020 10:21: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=@kernel.org header.s=default header.b=zNpksnBj; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726112AbgENRQ5 (ORCPT + 99 others); Thu, 14 May 2020 13:16:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:39496 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726027AbgENRQ5 (ORCPT ); Thu, 14 May 2020 13:16:57 -0400 Received: from paulmck-ThinkPad-P72.home (unknown [50.39.105.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C7CE32065D; Thu, 14 May 2020 17:16:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589476616; bh=fFnBlGAlMw+wP20EqKk+Oz6IVDzE2zDUpn8juggLf38=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=zNpksnBjYg93pGCAzKDGWckXwDHTkZoKnM5HbbwDQjCBbkZmzmi/oC0bZZJvrB3oL /FvQelsmUUlmXtoKseg0l0TrN5lUrZ9+5DEUzj9BNZ86JqJYE/pXwSvTuU/LHSrazk 8v88CcrCoJyCCxQPCjsguQkyzK1cz9QbqKTb77Ss= Received: by paulmck-ThinkPad-P72.home (Postfix, from userid 1000) id B5B1E35229C8; Thu, 14 May 2020 10:16:56 -0700 (PDT) Date: Thu, 14 May 2020 10:16:56 -0700 From: "Paul E. McKenney" To: Boqun Feng Cc: Akira Yokosawa , Joel Fernandes , 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" Subject: Re: [PATCH RESEND 3/4] Documentation/litmus-tests: Merge atomic's README into top-level one Message-ID: <20200514171656.GR2869@paulmck-ThinkPad-P72> Reply-To: paulmck@kernel.org References: <20200323015735.236279-1-joel@joelfernandes.org> <7809dbfa-7a76-8663-799a-908c4ead8d30@gmail.com> <21e1ba24-22d0-8083-770c-53d320ba5420@gmail.com> <20200512163022.GI2869@paulmck-ThinkPad-P72> <09a8f418-0a46-87ea-dbdb-a43efc66476c@gmail.com> <6d162e69-5d2f-1fbf-1588-ab19c30e7311@gmail.com> <20200514004618.GA94665@debian-boqun.qqnc3lrjykvubdpftowmye0fmh.lx.internal.cloudapp.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200514004618.GA94665@debian-boqun.qqnc3lrjykvubdpftowmye0fmh.lx.internal.cloudapp.net> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 14, 2020 at 08:46:18AM +0800, Boqun Feng wrote: > On Wed, May 13, 2020 at 06:39:03AM +0900, Akira Yokosawa wrote: > > From 96fa6680e3b990633ecbb6d11acf03a161b790bd Mon Sep 17 00:00:00 2001 > > From: Akira Yokosawa > > Date: Sun, 10 May 2020 15:12:57 +0900 > > Subject: [PATCH RESEND 3/4] Documentation/litmus-tests: Merge atomic's README into top-level one > > > > Where Documentation/litmus-tests/README lists RCU litmus tests, > > Documentation/litmus-tests/atomic/README lists atomic litmus tests. > > For symmetry, merge the latter into former, with some context > > adjustment in the introduction. > > > > Signed-off-by: Akira Yokosawa > > Acked-by: Andrea Parri > > Acked-by: Joel Fernandes (Google) > > Acked-by: Boqun Feng > > Thanks! Applied, and thank you all! I rebased, cancelling the revert with the original, resulting in an updated lkmm branch on -rcu. There was one minor conflict, so could one of you please check to make sure that I resolved things appropriately? Thanx, Paul > Regards, > Boqun > > > --- > > Documentation/litmus-tests/README | 19 +++++++++++++++++++ > > Documentation/litmus-tests/atomic/README | 16 ---------------- > > 2 files changed, 19 insertions(+), 16 deletions(-) > > delete mode 100644 Documentation/litmus-tests/atomic/README > > > > diff --git a/Documentation/litmus-tests/README b/Documentation/litmus-tests/README > > index c4307ea9f996..ac0b270b456c 100644 > > --- a/Documentation/litmus-tests/README > > +++ b/Documentation/litmus-tests/README > > @@ -2,6 +2,25 @@ > > LITMUS TESTS > > ============ > > > > +Each subdirectory contains litmus tests that are typical to describe the > > +semantics of respective kernel APIs. > > +For more information about how to "run" a litmus test or how to generate > > +a kernel test module based on a litmus test, please see > > +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 > > + the RMW are ordered before the subsequential memory accesses. > > + > > +Atomic-RMW-ops-are-atomic-WRT-atomic_set.litmus > > + Test that atomic_set() cannot break the atomicity of atomic RMWs. > > + > > + > > RCU (/rcu directory) > > -------------------- > > > > diff --git a/Documentation/litmus-tests/atomic/README b/Documentation/litmus-tests/atomic/README > > deleted file mode 100644 > > index 714cf93816ea..000000000000 > > --- a/Documentation/litmus-tests/atomic/README > > +++ /dev/null > > @@ -1,16 +0,0 @@ > > -This directory contains litmus tests that are typical to describe the semantics > > -of our atomic APIs. For more information about how to "run" a litmus test or > > -how to generate a kernel test module based on a litmus test, please see > > -tools/memory-model/README. > > - > > -============ > > -LITMUS TESTS > > -============ > > - > > -Atomic-RMW+mb__after_atomic-is-stronger-than-acquire > > - 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 > > - the RMW are ordered before the subsequential memory accesses. > > - > > -Atomic-RMW-ops-are-atomic-WRT-atomic_set.litmus > > - Test that atomic_set() cannot break the atomicity of atomic RMWs. > > -- > > 2.17.1 > > > >