rcu: Modulate grace-period slow init to normalize delay
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 15 Apr 2015 19:08:22 +0000 (12:08 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 27 May 2015 19:59:01 +0000 (12:59 -0700)
commiteab128e8305f2bc4c91406031aab26d86fecced6
tree80aec9d6b5d0d3cc999e3a3bd02cf68e211cc6cf
parent7d0ae8086b828311250c6afdf800b568ac9bd693
rcu: Modulate grace-period slow init to normalize delay

Currently, the larger the gp_init_delay boot parameter, the slower
rcutorture will sequence through grace periods.  This commit avoids this
issue by decreasing the probability of slowing initialization of a given
grace period as the degree of slowness increases.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/tree.c