Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b672adf8 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

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: default avatarDavid Miller <davem@davemloft.net>
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: default avatarDavid Miller <davem@davemloft.net>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
parent 2c4ac34b
Loading
Loading
Loading
Loading
+13 −26
Original line number Original line Diff line number Diff line
@@ -166,40 +166,27 @@ test_no_idle_hz Whether or not to test the ability of RCU to operate in


torture_type	The type of RCU to test, with string values as follows:
torture_type	The type of RCU to test, with string values as follows:


		"rcu":  rcu_read_lock(), rcu_read_unlock() and call_rcu().
		"rcu":  rcu_read_lock(), rcu_read_unlock() and call_rcu(),

			along with expedited, synchronous, and polling
		"rcu_sync":  rcu_read_lock(), rcu_read_unlock(), and
			variants.
			synchronize_rcu().

		"rcu_expedited": rcu_read_lock(), rcu_read_unlock(), and
			synchronize_rcu_expedited().


		"rcu_bh": rcu_read_lock_bh(), rcu_read_unlock_bh(), and
		"rcu_bh": rcu_read_lock_bh(), rcu_read_unlock_bh(), and
			call_rcu_bh().
			call_rcu_bh(), along with expedited and synchronous

			variants.
		"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(),
		"rcu_busted": This tests an intentionally incorrect version
			and synchronize_rcu_bh_expedited().
			of RCU in order to help test rcutorture itself.


		"srcu": srcu_read_lock(), srcu_read_unlock() and
		"srcu": srcu_read_lock(), srcu_read_unlock() and
			call_srcu().
			call_srcu(), along with expedited and

			synchronous variants.
		"srcu_sync": srcu_read_lock(), srcu_read_unlock() and
			synchronize_srcu().

		"srcu_expedited": srcu_read_lock(), srcu_read_unlock() and
			synchronize_srcu_expedited().


		"sched": preempt_disable(), preempt_enable(), and
		"sched": preempt_disable(), preempt_enable(), and
			call_rcu_sched().
			call_rcu_sched(), along with expedited,

			synchronous, and polling variants.
		"sched_sync": preempt_disable(), preempt_enable(), and
			synchronize_sched().


		"sched_expedited": preempt_disable(), preempt_enable(), and
		"tasks": voluntary context switch and call_rcu_tasks(),
			synchronize_sched_expedited().
			along with expedited and synchronous variants.


		Defaults to "rcu".
		Defaults to "rcu".