]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit241f1c7eaf0da6d9e63b20804f7cf6f37b41e58f
tree8ea9545a62835d8cd47978fd31ede669f988b43a
parentf0bbad6e390ec96c21d4ee0509445f9cb08a6b2b
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