Messages in this thread | | | From | Alexander Gordeev <> | Subject | [PATCH 0/9] rcu: Cleanup RCU tree initialization | Date | Sat, 7 Mar 2015 18:03:35 +0100 |
| |
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" <paulmck@linux.vnet.ibm.com>
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(-)
-- 1.8.3.1
| |