summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorDavidlohr Bueso <dave@stgolabs.net>2014-09-29 13:14:23 (GMT)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2014-09-30 07:10:00 (GMT)
commite34191fad8e5d9fe4e76f6d03b5e29e3eae7535a (patch)
treebdf4b88a473d2a7c416cf44dc826cb8393cb0b4a /mm
parentdd56af42bd829c6e770ed69812bd65a04eaeb1e4 (diff)
downloadlinux-e34191fad8e5d9fe4e76f6d03b5e29e3eae7535a.tar.xz
locktorture: Support rwlocks
Add a "rw_lock" torture test to stress kernel rwlocks and their irq variant. Reader critical regions are 5x longer than writers. As such a similar ratio of lock acquisitions is seen in the statistics. In the case of massive contention, both hold the lock for 1/10 of a second. Signed-off-by: Davidlohr Bueso <dbueso@suse.de> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions