aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/locking
diff options
context:
space:
mode:
authorDavidlohr Bueso <dave@stgolabs.net>2014-09-12 00:41:30 -0400
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2014-09-16 16:41:36 -0400
commit4a3b427f0b27c7e15edfa607524ff012a155337a (patch)
tree7277b03eb68e8d552c6698ff186c4a5d2c0aa687 /Documentation/locking
parent4f6332c1dce9c64ef6bf93842067250dd850e482 (diff)
locktorture: Support rwsems
We can easily do so with our new reader lock support. Just an arbitrary design default: readers have higher (5x) critical region latencies than writers: 50 ms and 10 ms, respectively. Signed-off-by: Davidlohr Bueso <dbueso@suse.de> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'Documentation/locking')
-rw-r--r--Documentation/locking/locktorture.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/locking/locktorture.txt b/Documentation/locking/locktorture.txt
index 7a72621b924f..be715015e0f7 100644
--- a/Documentation/locking/locktorture.txt
+++ b/Documentation/locking/locktorture.txt
@@ -47,6 +47,8 @@ torture_type Type of lock to torture. By default, only spinlocks will
47 47
48 o "mutex_lock": mutex_lock() and mutex_unlock() pairs. 48 o "mutex_lock": mutex_lock() and mutex_unlock() pairs.
49 49
50 o "rwsem_lock": read/write down() and up() semaphore pairs.
51
50torture_runnable Start locktorture at boot time in the case where the 52torture_runnable Start locktorture at boot time in the case where the
51 module is built into the kernel, otherwise wait for 53 module is built into the kernel, otherwise wait for
52 torture_runnable to be set via sysfs before starting. 54 torture_runnable to be set via sysfs before starting.