lkml.org 
[lkml]   [2017]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH tip/core/rcu 0/3] Open-code trivial rcu_cblist accessors
On Tue, May 02, 2017 at 06:47:10PM +0200, Ingo Molnar wrote:
>
> * Paul E. McKenney <paulmck@linux.vnet.ibm.com> wrote:
>
> > Hello!
> >
> > And this series open-codes trivial rcu_cblist structure accessors:
> >
> > 1. Open-code rcu_cblist_empty(p) as !p->head.
> >
> > 2. Open-code rcu_cblist_n_cbs(p) as p->len.
> >
> > 3. Open-code rcu_cblist_n_lazy_cbs(p) as p->len_lazy.
> >
> >
> > Thanx, Paul
> >
> > ------------------------------------------------------------------------
> >
> > rcu_segcblist.h | 20 +-------------------
> > tree.c | 20 +++++++++-----------
> > tree_plugin.h | 8 ++++----
> > tree_trace.c | 4 ++--
> > 4 files changed, 16 insertions(+), 36 deletions(-)
>
> Ok, these all look good to me.

Whew! ;-)

Thanx, Paul

\
 
 \ /
  Last update: 2017-05-02 19:02    [W:0.046 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site