summaryrefslogtreecommitdiffstats
path: root/kernel/rcu/update.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2014-06-23 12:09:52 -0700
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2014-07-09 09:15:31 -0700
commit11992c703a1c7d95f5d8759498d7617d4a504819 (patch)
treefa2fff5b57493c4912c6b1f8e514fc61f4d792b5 /kernel/rcu/update.c
parentd860d40327dde251d508a234fa00bd0d90fbb656 (diff)
downloadlinux-11992c703a1c7d95f5d8759498d7617d4a504819.tar.gz
linux-11992c703a1c7d95f5d8759498d7617d4a504819.tar.bz2
linux-11992c703a1c7d95f5d8759498d7617d4a504819.zip
rcu: Remove CONFIG_PROVE_RCU_DELAY
The CONFIG_PROVE_RCU_DELAY Kconfig parameter doesn't appear to be very effective at finding race conditions, so this commit removes it. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Andi Kleen <ak@linux.intel.com> [ paulmck: Remove definition and uses as noted by Paul Bolle. ]
Diffstat (limited to 'kernel/rcu/update.c')
-rw-r--r--kernel/rcu/update.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/rcu/update.c b/kernel/rcu/update.c
index bc7883570530..4056d7992a6c 100644
--- a/kernel/rcu/update.c
+++ b/kernel/rcu/update.c
@@ -90,9 +90,6 @@ void __rcu_read_unlock(void)
} else {
barrier(); /* critical section before exit code. */
t->rcu_read_lock_nesting = INT_MIN;
-#ifdef CONFIG_PROVE_RCU_DELAY
- udelay(10); /* Make preemption more probable. */
-#endif /* #ifdef CONFIG_PROVE_RCU_DELAY */
barrier(); /* assign before ->rcu_read_unlock_special load */
if (unlikely(ACCESS_ONCE(t->rcu_read_unlock_special)))
rcu_read_unlock_special(t);