Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1187251

[PATCH tip/core/rcu 0/12] Tree geometry-initialization simplifications for 4.3

From "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject [PATCH tip/core/rcu 0/12] Tree geometry-initialization simplifications for 4.3
Date 2015-07-18 00:40 +0200
Message-ID <pNmsp-2cc-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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(-)

--
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/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH tip/core/rcu 0/12] Tree geometry-initialization  simplifications for 4.3 "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2015-07-18 00:40 +0200
  [PATCH tip/core/rcu 03/12] rcu: Remove superfluous local variable in rcu_init_geometry() "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2015-07-18 00:40 +0200
  [PATCH tip/core/rcu 08/12] rcu: Remove unnecessary fields from rcu_state structure "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2015-07-18 00:40 +0200
  [PATCH tip/core/rcu 12/12] rcu: Reset rcu_fanout_leaf if out of bounds "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2015-07-18 00:40 +0200
  [PATCH tip/core/rcu 11/12] rcu: Shut up bogus gcc array bounds warning "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2015-07-18 00:40 +0200
  [PATCH tip/core/rcu 10/12] rcu: Simplify arithmetic to calculate number of RCU nodes "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2015-07-18 00:40 +0200
  [PATCH tip/core/rcu 05/12] rcu: Simplify rcu_init_geometry() capacity arithmetics "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2015-07-18 00:40 +0200
  [PATCH tip/core/rcu 09/12] rcu: Limit count of static data to the number of RCU levels "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2015-07-18 00:40 +0200
  [PATCH tip/core/rcu 01/12] rcu: Provide more diagnostics for stalled GP kthread "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2015-07-18 00:40 +0200
    [PATCH tip/core/rcu 04/12] rcu: Cleanup rcu_init_geometry() code and arithmetics "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2015-07-18 00:40 +0200
    [PATCH tip/core/rcu 02/12] rcu: Panic if RCU tree can not accommodate all CPUs "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2015-07-18 00:40 +0200
    [PATCH tip/core/rcu 07/12] rcu: Limit rcu_capacity[] size to RCU_NUM_LVLS items "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2015-07-18 00:40 +0200
    [PATCH tip/core/rcu 06/12] rcu: Limit rcu_state::levelcnt[] to RCU_NUM_LVLS items "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2015-07-18 00:40 +0200

csiph-web