rcu: Cleanup RCU tree initialization
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest9 patches 1 replyIn review
- v29 patches 4 repliesSuperseded
- v110 patches 10 repliesSuperseded
Changes in v3 from the cover letter
- patch 1 fixed to avoid a panic in case rcu_fanout_leaf
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | rcu: Panic if RCU tree can not accommodate all CPUskernel/ | +17 | 0 replies | |
| 2/9 | rcu: Remove superfluous local variable in rcu_init_geometry()kernel/ | +7 | 0 replies | |
| 3/9 | rcu: Cleanup rcu_init_geometry() code and arithmeticskernel/ | +10 | 0 replies | |
| 4/9 | rcu: Simplify rcu_init_geometry() capacity arithmeticskernel/ | +8 | 0 replies | |
| 5/9 | rcu: Limit rcu_state::levelcnt[] to RCU_NUM_LVLS itemskernel/ | +1 | 0 replies | |
| 6/9 | rcu: Limit rcu_capacity[] size to RCU_NUM_LVLS itemskernel/ kernel/ | +6 | 0 replies | |
| 7/9 | rcu: Remove unnecessary fields from rcu_state structurekernel/ kernel/ | +15 | 0 replies | |
| 8/9 | rcu: Limit count of static data to the number of RCU levelskernel/ kernel/ | +16 | 0 replies | |
| 9/9 | rcu: Simplify arithmetic to calculate number of RCU nodeskernel/ kernel/ | +6 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/9] rcu: Cleanup RCU tree initialization
Hello Paul,
This is 3rd attempt to make RCU tree initialization bit more clear and optimize memory footprint of data associated with the tree.
Changes since v2:
- patch 1 fixed to avoid a panic in case rcu_fanout_leaf
is out of bounds;
Changes since v1:
- patch 3 fixed to accomodate nr_cpus=1, otherwise rcu_num_lvls
would yield zero, which is wrong;
The series is against "linux-rcu" tree "rcu/dev" branch
Thanks!
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 | 109 +++++++++++++++++++++-------------------------- kernel/rcu/tree.h | 33 +++++++------- kernel/rcu/tree_plugin.h | 4 +- 3 files changed, 67 insertions(+), 79 deletions(-)
Signature · 1 line
1.8.3.1