lkml.org 
[lkml]   [2015]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 0/9] rcu: Cleanup RCU tree initialization
On Fri, May 29, 2015 at 11:53:36AM +0200, Alexander Gordeev wrote:
> Hello Paul,
>
> This is 2nd attempt to make RCU tree initialization bit more
> clear and optimize memory footprint of data associated with
> the tree.

Thank you for sending these -- please see the comment on patch #1.
I have queued these for testing in the meantime, but please either
explain why I am wrong or resend the set with the fix.

Thanx, Paul

> 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!
>
> Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
> Cc: Steven Rostedt <rostedt@goodmis.org>
>
> 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 | 99 +++++++++++++++++++++---------------------------
> kernel/rcu/tree.h | 33 ++++++++--------
> kernel/rcu/tree_plugin.h | 4 +-
> 3 files changed, 61 insertions(+), 75 deletions(-)
>
> --
> 1.8.3.1
>



\
 
 \ /
  Last update: 2015-06-01 21:21    [W:0.097 / U:2.464 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site