locktorture: Support rwsems
authorDavidlohr Bueso <dave@stgolabs.net>
Fri, 12 Sep 2014 04:41:30 +0000 (21:41 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 16 Sep 2014 20:41:36 +0000 (13:41 -0700)
commit4a3b427f0b27c7e15edfa607524ff012a155337a
tree7277b03eb68e8d552c6698ff186c4a5d2c0aa687
parent4f6332c1dce9c64ef6bf93842067250dd850e482
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>
Documentation/locking/locktorture.txt
kernel/locking/locktorture.c