diff options
author | Davidlohr Bueso <dave@stgolabs.net> | 2014-09-11 21:40:41 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-09-16 13:41:07 -0700 |
commit | 4f6332c1dce9c64ef6bf93842067250dd850e482 (patch) | |
tree | c1282b207d116fdb56acb3782e9e59e05c7214df /arch/s390 | |
parent | d36a7a0d5e8b5bff1671723d733eb61621b0cee4 (diff) | |
download | op-kernel-dev-4f6332c1dce9c64ef6bf93842067250dd850e482.zip op-kernel-dev-4f6332c1dce9c64ef6bf93842067250dd850e482.tar.gz |
locktorture: Add infrastructure for torturing read locks
Most of it is based on what we already have for writers. This allows
readers to be very independent (and thus configurable), enabling
future module parameters to control things such as rw distribution.
Furthermore, readers have their own delaying function, allowing us
to test different rw critical region latencies, and stress locking
internals. Similarly, statistics, for now will only serve for the
number of lock acquisitions -- as opposed to writers, readers have
no failure detection.
In addition, introduce a new nreaders_stress module parameter. The
default number of readers will be the same number of writers threads.
Writer threads are interleaved with readers. Documentation is updated,
respectively.
Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'arch/s390')
0 files changed, 0 insertions, 0 deletions