Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756944AbbFCP30 (ORCPT ); Wed, 3 Jun 2015 11:29:26 -0400 Received: from e36.co.us.ibm.com ([32.97.110.154]:47774 "EHLO e36.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753826AbbFCP3S (ORCPT ); Wed, 3 Jun 2015 11:29:18 -0400 Date: Wed, 3 Jun 2015 08:29:13 -0700 From: "Paul E. McKenney" To: Alexander Gordeev Cc: linux-kernel@vger.kernel.org, Steven Rostedt Subject: Re: [PATCH v3 0/9] rcu: Cleanup RCU tree initialization Message-ID: <20150603152912.GR5989@linux.vnet.ibm.com> Reply-To: paulmck@linux.vnet.ibm.com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15060315-0021-0000-0000-00000B568859 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1776 Lines: 51 On Wed, Jun 03, 2015 at 08:18:22AM +0200, Alexander Gordeev wrote: > 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! > > Cc: "Paul E. McKenney" > Cc: Steven Rostedt Queued for testing, replacing the earlier series, thank you! Thanx, Paul > 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(-) > > -- > 1.8.3.1 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/