diff options
author | Josh Triplett <josht@us.ibm.com> | 2006-10-04 05:17:15 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-04 10:55:31 -0400 |
commit | 20d2e4283a97665a3db78c60dfa342a0c7c1b180 (patch) | |
tree | 25bb664ab495fe4afcf9b2f85e438a437af0f85c /Documentation/RCU/torture.txt | |
parent | e3033736581f125ba5fd6c0760e0d430d54fb5c0 (diff) |
[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/torture.txt')
-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 | |||
53 | a kernel that disables the scheduling-clock interrupt to | 53 | a kernel that disables the scheduling-clock interrupt to |
54 | idle CPUs. Boolean parameter, "1" to test, "0" otherwise. | 54 | idle CPUs. Boolean parameter, "1" to test, "0" otherwise. |
55 | 55 | ||
56 | torture_type The type of RCU to test: "rcu" for the rcu_read_lock() | 56 | torture_type The type of RCU to test: "rcu" for the rcu_read_lock() API, |
57 | API, "rcu_bh" for the rcu_read_lock_bh() API, and "srcu" | 57 | "rcu_sync" for rcu_read_lock() with synchronous reclamation, |
58 | for the "srcu_read_lock()" API. | 58 | "rcu_bh" for the rcu_read_lock_bh() API, and "srcu" for the |
59 | "srcu_read_lock()" API. | ||
59 | 60 | ||
60 | verbose Enable debug printk()s. Default is disabled. | 61 | verbose Enable debug printk()s. Default is disabled. |
61 | 62 | ||