lkml.org 
[lkml]   [2019]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH tip/core/rcu 08/21] tools/memory-model: Add support for synchronize_srcu_expedited()
On Tue, Apr 02, 2019 at 04:49:11PM +0200, Andrea Parri wrote:
> On Tue, Mar 26, 2019 at 04:41:20PM -0700, Paul E. McKenney wrote:
> > Given that synchronize_rcu_expedited() is supported, this commit adds
> > support for synchronize_srcu_expedited().
> >
> > Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
> > ---
> > tools/memory-model/linux-kernel.def | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/tools/memory-model/linux-kernel.def b/tools/memory-model/linux-kernel.def
> > index 0c3f0ef486f4..551eeaa389d4 100644
> > --- a/tools/memory-model/linux-kernel.def
> > +++ b/tools/memory-model/linux-kernel.def
> > @@ -51,6 +51,7 @@ synchronize_rcu_expedited() { __fence{sync-rcu}; }
> > srcu_read_lock(X) __srcu{srcu-lock}(X)
> > srcu_read_unlock(X,Y) { __srcu{srcu-unlock}(X,Y); }
> > synchronize_srcu(X) { __srcu{sync-srcu}(X); }
> > +synchronize_srcu_expedited(X) { __srcu{sync-srcu}(X); }
>
> This and the other patches from the series do not apply to "tip/core/rcu"

Ah, that is instead their hoped-for destination within the -tip tree.
They are included in -rcu branch "dev".

> (from the Subject), but this seems straightforward enough:
>
> Acked-by: Andrea Parri <andrea.parri@amarulasolutions.com>

Applied, thank you!

Thanx, Paul

> Andrea
>
>
> >
> > // Atomic
> > atomic_read(X) READ_ONCE(*X)
> > --
> > 2.17.1
> >
>

\
 
 \ /
  Last update: 2019-04-04 22:51    [W:0.078 / U:16.252 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site