locktorture: Support rwlocks
[firefly-linux-kernel-4.4.55.git] / Documentation / locking / locktorture.txt
index be715015e0f76db5312ae4c5c4e29bf0f63d83a6..619f2bb136a545f1932609f3b93b898145f6a5cc 100644 (file)
@@ -45,6 +45,11 @@ torture_type   Type of lock to torture. By default, only spinlocks will
                     o "spin_lock_irq": spin_lock_irq() and spin_unlock_irq()
                                        pairs.
 
+                    o "rw_lock": read/write lock() and unlock() rwlock pairs.
+
+                    o "rw_lock_irq": read/write lock_irq() and unlock_irq()
+                                     rwlock pairs.
+
                     o "mutex_lock": mutex_lock() and mutex_unlock() pairs.
 
                     o "rwsem_lock": read/write down() and up() semaphore pairs.