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


Groups > linux.kernel > #1634521

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

From Ingo Molnar <mingo@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH tip/core/rcu 0/3] Open-code trivial rcu_cblist accessors
Date 2017-05-02 18:50 +0200
Message-ID <tCJ9T-LW-1@gated-at.bofh.it> (permalink)
References <tCIQy-Fv-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


* 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

Back to linux.kernel | Previous | NextPrevious in thread | Next 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