From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752766AbbGQWat (ORCPT ); Fri, 17 Jul 2015 18:30:49 -0400 Received: from e37.co.us.ibm.com ([32.97.110.158]:56403 "EHLO e37.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751545AbbGQWas (ORCPT ); Fri, 17 Jul 2015 18:30:48 -0400 X-Helo: d03dlp01.boulder.ibm.com X-MailFrom: paulmck@linux.vnet.ibm.com X-RcptTo: linux-kernel@vger.kernel.org Date: Fri, 17 Jul 2015 15:30:41 -0700 From: "Paul E. McKenney" To: linux-kernel@vger.kernel.org Cc: mingo@kernel.org, jiangshanlai@gmail.com, dipankar@in.ibm.com, akpm@linux-foundation.org, mathieu.desnoyers@efficios.com, josh@joshtriplett.org, tglx@linutronix.de, peterz@infradead.org, rostedt@goodmis.org, dhowells@redhat.com, edumazet@google.com, dvhart@linux.intel.com, fweisbec@gmail.com, oleg@redhat.com, bobby.prani@gmail.com Subject: [PATCH tip/core/rcu 0/12] Tree geometry-initialization simplifications for 4.3 Message-ID: <20150717223041.GA14464@linux.vnet.ibm.com> Reply-To: paulmck@linux.vnet.ibm.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15071722-0025-0000-0000-0000173C04D8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello! This series simplifies the arithmetic involved in computing the geometry of Tree RCU's combining tree. 1. Provide more diagnostics for stalled GP kthread. (A bit off-topic, but included in this series due to conflicting updates.) 2. Panic if RCU tree can not accommodate all CPUs, courtesy of Alexander Gordeev. 3. Remove superfluous local variable in rcu_init_geometry(), courtesy of Alexander Gordeev. 4. Cleanup rcu_init_geometry() code and arithmetic, courtesy of Alexander Gordeev. 5. Simplify rcu_init_geometry() capacity arithmetic, courtesy of Alexander Gordeev. 6. Limit rcu_state::levelcnt[] to RCU_NUM_LVLS items, courtesy of Alexander Gordeev. 7. Limit rcu_capacity[] size to RCU_NUM_LVLS items, courtesy of Alexander Gordeev. 8. Remove unnecessary fields from rcu_state structure, courtesy of Alexander Gordeev. 9. Limit count of static data to the number of RCU levels, courtesy of Alexander Gordeev. 10. Simplify arithmetic to calculate number of RCU nodes, courtesy of Alexander Gordeev. 11. Shut up bogus gcc array bounds warning, courtesy of Alexander Gordeev. 12. Reset rcu_fanout_leaf if out of bounds. Thanx, Paul ------------------------------------------------------------------------ b/kernel/rcu/tree.c | 156 +++++++++++++++++++++------------------------ b/kernel/rcu/tree.h | 45 +++++++----- b/kernel/rcu/tree_plugin.h | 4 - 3 files changed, 103 insertions(+), 102 deletions(-)