summaryrefslogtreecommitdiffstats
path: root/Documentation/RCU
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2011-06-07 16:59:35 -0700
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2011-09-28 21:36:43 -0700
commitbdf2a4364904d6cf2f59b16b0bd86fdc5a2c6152 (patch)
treeee8343d4a81757d75f1d51f54d3762f00525e7a9 /Documentation/RCU
parent2c42818e962e2858334bf45bfc56662b3752df34 (diff)
downloadlinux-bdf2a4364904d6cf2f59b16b0bd86fdc5a2c6152.tar.gz
linux-bdf2a4364904d6cf2f59b16b0bd86fdc5a2c6152.tar.bz2
linux-bdf2a4364904d6cf2f59b16b0bd86fdc5a2c6152.zip
rcu: Catch rcutorture up to new RCU API additions
Now that the RCU API contains synchronize_rcu_bh(), synchronize_sched(), call_rcu_sched(), and rcu_bh_expedited()... Make rcutorture test synchronize_rcu_bh(), getting rid of the old rcu_bh_torture_synchronize() workaround. Similarly, make rcutorture test synchronize_sched(), getting rid of the old sched_torture_synchronize() workaround. Make rcutorture test call_rcu_sched() instead of wrappering synchronize_sched(). Also add testing of rcu_bh_expedited(). Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'Documentation/RCU')
-rw-r--r--Documentation/RCU/torture.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/RCU/torture.txt b/Documentation/RCU/torture.txt
index 4205ed1f8adc..783d6c134d3f 100644
--- a/Documentation/RCU/torture.txt
+++ b/Documentation/RCU/torture.txt
@@ -122,6 +122,9 @@ torture_type The type of RCU to test, with string values as follows:
"rcu_bh_sync": rcu_read_lock_bh(), rcu_read_unlock_bh(),
and synchronize_rcu_bh().
+ "rcu_bh_expedited": rcu_read_lock_bh(), rcu_read_unlock_bh(),
+ and synchronize_rcu_bh_expedited().
+
"srcu": srcu_read_lock(), srcu_read_unlock() and
synchronize_srcu().