aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-08-24 14:46:00 -0400
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-10-06 14:22:48 -0400
commitb672adf8cfb822781ab904343e5de0297ee117ed (patch)
tree3e35f471d462d17ff2f6cf0cb53a427a63ec61ea
parent2c4ac34bc2d97f056ed3c43fa03c0737fae46fb6 (diff)
documentation: Catch up list of torture_type options
This commit rids the documentation of long-obsolete torture_type options such as rcu_sync and adds new ones such as tasks. Also add verbiage noting the fact that rcutorture now concurrently tests the asynchrounous, synchronous, expedited synchronous, and polling grace-period primitives. Reported-by: David Miller <davem@davemloft.net> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: David Miller <davem@davemloft.net> Reviewed-by: Josh Triplett <josh@joshtriplett.org>
-rw-r--r--Documentation/RCU/torture.txt39
1 files changed, 13 insertions, 26 deletions
diff --git a/Documentation/RCU/torture.txt b/Documentation/RCU/torture.txt
index dac02a6219b1..118e7c176ce7 100644
--- a/Documentation/RCU/torture.txt
+++ b/Documentation/RCU/torture.txt
@@ -166,40 +166,27 @@ test_no_idle_hz Whether or not to test the ability of RCU to operate in
166 166
167torture_type The type of RCU to test, with string values as follows: 167torture_type The type of RCU to test, with string values as follows:
168 168
169 "rcu": rcu_read_lock(), rcu_read_unlock() and call_rcu(). 169 "rcu": rcu_read_lock(), rcu_read_unlock() and call_rcu(),
170 170 along with expedited, synchronous, and polling
171 "rcu_sync": rcu_read_lock(), rcu_read_unlock(), and 171 variants.
172 synchronize_rcu().
173
174 "rcu_expedited": rcu_read_lock(), rcu_read_unlock(), and
175 synchronize_rcu_expedited().
176 172
177 "rcu_bh": rcu_read_lock_bh(), rcu_read_unlock_bh(), and 173 "rcu_bh": rcu_read_lock_bh(), rcu_read_unlock_bh(), and
178 call_rcu_bh(). 174 call_rcu_bh(), along with expedited and synchronous
179 175 variants.
180 "rcu_bh_sync": rcu_read_lock_bh(), rcu_read_unlock_bh(),
181 and synchronize_rcu_bh().
182 176
183 "rcu_bh_expedited": rcu_read_lock_bh(), rcu_read_unlock_bh(), 177 "rcu_busted": This tests an intentionally incorrect version
184 and synchronize_rcu_bh_expedited(). 178 of RCU in order to help test rcutorture itself.
185 179
186 "srcu": srcu_read_lock(), srcu_read_unlock() and 180 "srcu": srcu_read_lock(), srcu_read_unlock() and
187 call_srcu(). 181 call_srcu(), along with expedited and
188 182 synchronous variants.
189 "srcu_sync": srcu_read_lock(), srcu_read_unlock() and
190 synchronize_srcu().
191
192 "srcu_expedited": srcu_read_lock(), srcu_read_unlock() and
193 synchronize_srcu_expedited().
194 183
195 "sched": preempt_disable(), preempt_enable(), and 184 "sched": preempt_disable(), preempt_enable(), and
196 call_rcu_sched(). 185 call_rcu_sched(), along with expedited,
197 186 synchronous, and polling variants.
198 "sched_sync": preempt_disable(), preempt_enable(), and
199 synchronize_sched().
200 187
201 "sched_expedited": preempt_disable(), preempt_enable(), and 188 "tasks": voluntary context switch and call_rcu_tasks(),
202 synchronize_sched_expedited(). 189 along with expedited and synchronous variants.
203 190
204 Defaults to "rcu". 191 Defaults to "rcu".
205 192