locktorture: Add torture tests for percpu_rwsem
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sat, 29 Aug 2015 21:46:29 +0000 (14:46 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 6 Oct 2015 18:24:56 +0000 (11:24 -0700)
commit617783dd99704331e22636388c932450e02ee636
tree5720d86841e9fc94cb6fb06912b5ce7b6c768202
parent302707fd7cd341a23dbc448a335d432ad0069c20
locktorture: Add torture tests for percpu_rwsem

This commit adds percpu_rwsem tests based on the earlier rwsem tests.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Davidlohr Bueso <dave@stgolabs.net>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
kernel/locking/locktorture.c
tools/testing/selftests/rcutorture/configs/lock/CFLIST
tools/testing/selftests/rcutorture/configs/lock/LOCK06 [new file with mode: 0644]
tools/testing/selftests/rcutorture/configs/lock/LOCK06.boot [new file with mode: 0644]