Skip to content

rcu: Cleanup RCU tree initialization

Alexander Gordeev lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9rcu: Panic if RCU tree can not accommodate all CPUskernel/rcu/tree.c+9 -63 replies
2/9rcu: Remove superfluous local variable in rcu_init_geometry()kernel/rcu/tree.c+7 -71 reply
3/9rcu: Cleanup rcu_init_geometry() code and arithmeticskernel/rcu/tree.c+10 -143 replies
4/9rcu: Simplify rcu_init_geometry() capacity arithmeticskernel/rcu/tree.c+7 -90 replies
5/9rcu: Limit rcu_state::levelcnt[] to RCU_NUM_LVLS itemskernel/rcu/tree.h+1 -10 replies
6/9rcu: Limit rcu_capacity[] size to RCU_NUM_LVLS itemskernel/rcu/tree.c kernel/rcu/tree.h+6 -70 replies
7/9rcu: Remove unnecessary fields from rcu_state structurekernel/rcu/tree.c kernel/rcu/tree.h+16 -150 replies
8/9rcu: Limit count of static data to the number of RCU levelskernel/rcu/tree.c kernel/rcu/tree.h+16 -170 replies
9/9rcu: Simplify arithmetic to calculate number of RCU nodeskernel/rcu/tree.h kernel/rcu/tree_plugin.h+6 -150 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/9] rcu: Cleanup RCU tree initialization

Hello,

This is an attempt to make RCU tree initialization bit more clear and optimize memory footprint of data associated with the tree.

Cc "Paul E. McKenney" <[email protected]>

Alexander Gordeev (9):
rcu: Panic if RCU tree can not accommodate all CPUs
rcu: Remove superfluous local variable in rcu_init_geometry()
rcu: Cleanup rcu_init_geometry() code and arithmetics
rcu: Simplify rcu_init_geometry() capacity arithmetics
rcu: Limit rcu_state::levelcnt[] to RCU_NUM_LVLS items
rcu: Limit rcu_capacity[] size to RCU_NUM_LVLS items
rcu: Remove unnecessary fields from rcu_state structure
rcu: Limit count of static data to the number of RCU levels
rcu: Simplify arithmetic to calculate number of RCU nodes

 kernel/rcu/tree.c        | 101 +++++++++++++++++++++--------------------------
 kernel/rcu/tree.h        |  32 +++++++--------
 kernel/rcu/tree_plugin.h |   4 +-
 3 files changed, 62 insertions(+), 75 deletions(-)
Signature · 1 line
1.8.3.1