public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH tip/core/rcu 0/3] Open-code trivial rcu_cblist accessors
@ 2017-05-02 16:21 Paul E. McKenney
  2017-05-02 16:24 ` [PATCH tip/core/rcu 1/3] rcu: Open-code the rcu_cblist_empty() function Paul E. McKenney
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Paul E. McKenney @ 2017-05-02 16:21 UTC (permalink / raw)
  To: linux-kernel
  Cc: mingo, jiangshanlai, dipankar, akpm, mathieu.desnoyers, josh,
	tglx, peterz, rostedt, dhowells, edumazet, fweisbec, oleg,
	bobby.prani

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(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-05-02 17:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-02 16:21 [PATCH tip/core/rcu 0/3] Open-code trivial rcu_cblist accessors Paul E. McKenney
2017-05-02 16:24 ` [PATCH tip/core/rcu 1/3] rcu: Open-code the rcu_cblist_empty() function Paul E. McKenney
2017-05-02 16:24 ` [PATCH tip/core/rcu 2/3] rcu: Open-code the rcu_cblist_n_cbs() function Paul E. McKenney
2017-05-02 16:24 ` [PATCH tip/core/rcu 3/3] rcu: Open-code the rcu_cblist_n_lazy_cbs() function Paul E. McKenney
2017-05-02 16:47 ` [PATCH tip/core/rcu 0/3] Open-code trivial rcu_cblist accessors Ingo Molnar
2017-05-02 17:01   ` Paul E. McKenney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox