Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1634536

Re: [PATCH tip/core/rcu 0/3] Open-code trivial rcu_cblist accessors

From "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject Re: [PATCH tip/core/rcu 0/3] Open-code trivial rcu_cblist accessors
Date 2017-05-02 19:10 +0200
Message-ID <tCJth-17y-35@gated-at.bofh.it> (permalink)
References <tCIQy-Fv-9@gated-at.bofh.it> <tCJ9T-LW-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH tip/core/rcu 0/3] Open-code trivial rcu_cblist accessors "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2017-05-02 18:30 +0200
  Re: [PATCH tip/core/rcu 0/3] Open-code trivial rcu_cblist accessors Ingo Molnar <mingo@kernel.org> - 2017-05-02 18:50 +0200
    Re: [PATCH tip/core/rcu 0/3] Open-code trivial rcu_cblist accessors "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2017-05-02 19:10 +0200

csiph-web