locktorture: Add a lock-torture kernel module
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 4 Feb 2014 23:51:41 +0000 (15:51 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 23 Feb 2014 17:04:29 +0000 (09:04 -0800)
commit0af3fe1efa534a43385fe2694c42ffec7a310e46
tree32a167b7b5cae8a461569ca5b58433b1400ac5b8
parent2193e1604eac422df05f77b53667237fcf130bf5
locktorture: Add a lock-torture kernel module

This commit adds the locking counterpart to rcutorture.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
[ paulmck: Make n_lock_torture_errors and torture_spinlock static
  as suggested by Fengguang Wu. ]
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
kernel/locking/Makefile
kernel/locking/locktorture.c [new file with mode: 0644]
lib/Kconfig.debug