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>
This commit is contained in:
Paul E. McKenney
2015-08-29 14:46:29 -07:00
parent 302707fd7c
commit 617783dd99
4 changed files with 52 additions and 0 deletions

View File

@@ -3,3 +3,4 @@ LOCK02
LOCK03
LOCK04
LOCK05
LOCK06

View File

@@ -0,0 +1,6 @@
CONFIG_SMP=y
CONFIG_NR_CPUS=4
CONFIG_HOTPLUG_CPU=y
CONFIG_PREEMPT_NONE=n
CONFIG_PREEMPT_VOLUNTARY=n
CONFIG_PREEMPT=y

View File

@@ -0,0 +1 @@
locktorture.torture_type=percpu_rwsem_lock