[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230222205937.GU2948950@paulmck-ThinkPad-P17-Gen-1>
Date: Wed, 22 Feb 2023 12:59:37 -0800
From: "Paul E. McKenney" <paulmck@...nel.org>
To: Alan Stern <stern@...land.harvard.edu>
Cc: Joel Fernandes <joel@...lfernandes.org>,
linux-kernel@...r.kernel.org, Boqun Feng <boqun.feng@...il.com>,
Jade Alglave <j.alglave@....ac.uk>,
Luc Maranget <luc.maranget@...ia.fr>,
Peter Zijlstra <peterz@...radead.org>,
Will Deacon <will.deacon@....com>,
Jonas Oberhauser <jonas.oberhauser@...weicloud.com>,
Akira Yokosawa <akiyks@...il.com>,
Andrea Parri <parri.andrea@...il.com>,
Daniel Lustig <dlustig@...dia.com>,
David Howells <dhowells@...hat.com>,
Jonas Oberhauser <jonas.oberhauser@...wei.com>,
linux-arch@...r.kernel.org, Nicholas Piggin <npiggin@...il.com>,
Paul Heidekrüger <paul.heidekrueger@...tum.de>,
Will Deacon <will@...nel.org>
Subject: Re: [PATCH] tools/memory-model: Add details about SRCU read-side
critical sections
On Wed, Feb 22, 2023 at 03:32:12PM -0500, Alan Stern wrote:
> On Wed, Feb 22, 2023 at 11:50:51AM -0800, Paul E. McKenney wrote:
> > On Mon, Feb 20, 2023 at 04:06:13PM -0500, Alan Stern wrote:
> > > On Sun, Feb 19, 2023 at 12:13:14PM -0500, Joel Fernandes wrote:
> > > > On Sun, Feb 19, 2023 at 12:11 PM Joel Fernandes <joel@...lfernandes.org> wrote:
> > > > > Even though it may be redundant: would it be possible to also mention
> > > > > (after this paragraph) that this case forms an undesirable "->rf" link
> > > > > between B and C, which then causes us to link A and D as a result?
> > > > >
> > > > > A[srcu-lock] ->data B[once] ->rf C[once] ->data D[srcu-unlock].
> > > >
> > > > Apologies, I meant here, care must be taken to avoid:
> > > >
> > > > A[srcu-lock] ->data B[srcu-unlock] ->rf C[srcu-lock] ->data D[srcu-unlock].
> > >
> > > Revised patch below. I changed more than just this bit. Mostly small
> > > edits to improve readability, but I did add a little additional
> > > material.
> >
> > Looks good to me, thank you!
> >
> > Would you like to send a formal patch, or are you thinking in terms
> > of making other changes first?
>
> I'll send a formal patch when I find time to write an appropriate
> Changelog description.
>
> I also have in mind making other changes along the lines Joel suggested,
> but they will be separate patches.
Sounds good!
Thanx, Paul
Powered by blists - more mailing lists