Skip to content

Open-code trivial rcu_cblist accessors

Paul E. McKenney lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3rcu: Open-code the rcu_cblist_empty() functionkernel/rcu/rcu_segcblist.h kernel/rcu/tree.c kernel/rcu/tree_plugin.h+7 -140 replies
2/3rcu: Open-code the rcu_cblist_n_cbs() functionkernel/rcu/rcu_segcblist.h kernel/rcu/tree.c kernel/rcu/tree_plugin.h +1 more+6 -130 replies
3/3rcu: Open-code the rcu_cblist_n_lazy_cbs() functionkernel/rcu/rcu_segcblist.h kernel/rcu/tree.c kernel/rcu/tree_plugin.h +1 more+3 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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