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


Groups > linux.kernel > #1634511 > unrolled thread

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

Started by"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
First post2017-05-02 18:30 +0200
Last post2017-05-02 19:10 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [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

#1634511 — [PATCH tip/core/rcu 0/3] Open-code trivial rcu_cblist accessors

From"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Date2017-05-02 18:30 +0200
Subject[PATCH tip/core/rcu 0/3] Open-code trivial rcu_cblist accessors
Message-ID<tCIQy-Fv-9@gated-at.bofh.it>
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(-)

[toc] | [next] | [standalone]


#1634521

FromIngo Molnar <mingo@kernel.org>
Date2017-05-02 18:50 +0200
Message-ID<tCJ9T-LW-1@gated-at.bofh.it>
In reply to#1634511
* 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.

Thanks,

	Ingo

[toc] | [prev] | [next] | [standalone]


#1634536

From"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Date2017-05-02 19:10 +0200
Message-ID<tCJth-17y-35@gated-at.bofh.it>
In reply to#1634521
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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web