diff options
author | Josh Triplett <josht@us.ibm.com> | 2006-10-04 02:17:15 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-04 07:55:31 -0700 |
commit | 20d2e4283a97665a3db78c60dfa342a0c7c1b180 (patch) | |
tree | 25bb664ab495fe4afcf9b2f85e438a437af0f85c /Documentation/RCU | |
parent | e3033736581f125ba5fd6c0760e0d430d54fb5c0 (diff) | |
download | linux-20d2e4283a97665a3db78c60dfa342a0c7c1b180.tar.gz linux-20d2e4283a97665a3db78c60dfa342a0c7c1b180.tar.bz2 linux-20d2e4283a97665a3db78c60dfa342a0c7c1b180.zip |
[PATCH] rcu: add rcu_sync torture type to rcutorture
Use the newly-generic synchronous deferred free function to implement torture
testing for RCU using synchronize_rcu rather than the asynchronous call_rcu.
Signed-off-by: Josh Triplett <josh@freedesktop.org>
Acked-by: Paul E. McKenney <paulmck@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation/RCU')
-rw-r--r-- | Documentation/RCU/torture.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Documentation/RCU/torture.txt b/Documentation/RCU/torture.txt index 2180ef93accc..6714b5361158 100644 --- a/Documentation/RCU/torture.txt +++ b/Documentation/RCU/torture.txt @@ -53,9 +53,10 @@ test_no_idle_hz Whether or not to test the ability of RCU to operate in a kernel that disables the scheduling-clock interrupt to idle CPUs. Boolean parameter, "1" to test, "0" otherwise. -torture_type The type of RCU to test: "rcu" for the rcu_read_lock() - API, "rcu_bh" for the rcu_read_lock_bh() API, and "srcu" - for the "srcu_read_lock()" API. +torture_type The type of RCU to test: "rcu" for the rcu_read_lock() API, + "rcu_sync" for rcu_read_lock() with synchronous reclamation, + "rcu_bh" for the rcu_read_lock_bh() API, and "srcu" for the + "srcu_read_lock()" API. verbose Enable debug printk()s. Default is disabled. |