From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753338AbbCIIe0 (ORCPT ); Mon, 9 Mar 2015 04:34:26 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36116 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751715AbbCIIeW (ORCPT ); Mon, 9 Mar 2015 04:34:22 -0400 From: Alexander Gordeev To: linux-kernel@vger.kernel.org Cc: Alexander Gordeev , "Paul E. McKenney" Subject: [PATCH 00/10] rcu: Cleanup RCU tree initialization Date: Mon, 9 Mar 2015 09:34:04 +0100 Message-Id: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Paul, Here is cleanup of RCU tree initialization rebased on linux-rcu rcu/next repo, as you requested. Please, note an extra patch #10 that was not present in the first post. The series successfully passes kernel build test with CONFIG_RCU_FANOUT and CONFIG_RCU_FANOUT_LEAF equal to 5. Cc: "Paul E. McKenney" Alexander Gordeev (10): 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 rcu: Remove unnecessary grpnum field from rcu_node structure kernel/rcu/tree.c | 102 ++++++++++++++++++++--------------------------- kernel/rcu/tree.h | 35 ++++++++-------- kernel/rcu/tree_plugin.h | 4 +- 3 files changed, 63 insertions(+), 78 deletions(-) -- 1.8.3.1