rcu: Add random PROVE_RCU_DELAY to grace-period initialization
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sat, 7 Jul 2012 12:57:03 +0000 (05:57 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 23 Sep 2012 14:41:55 +0000 (07:41 -0700)
commit661a85dc0d2ec0404e3b80909e413a9d5e42a239
tree8ea9545a62835d8cd47978fd31ede669f988b43a
parent5d4b86594984d8746b01487c768d8548463c173f
rcu: Add random PROVE_RCU_DELAY to grace-period initialization

Preemption greatly raised the probability of certain types of race
conditions, so this commit adds an anti-heisenbug to greatly increase
the collision cross section, also known as the probability of occurrence.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
kernel/rcutree.c