]> git.karo-electronics.de Git - linux-beck.git/commit
rcutorture: Add a lock_busted to test the test
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 11 Feb 2014 16:05:07 +0000 (08:05 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 23 Feb 2014 17:04:43 +0000 (09:04 -0800)
commite086481baf9d0436bdd6e9b739bfa4a83fb89ef5
tree8c30272e287b2aee92c3f27dc98fb711ea7cb02e
parentb46f358ae5e3558a9072f0354128d5749a584d01
rcutorture: Add a lock_busted to test the test

This commit adds a maximally broken locking primitive in which
lock acquisition and release are both no-ops.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
kernel/locking/locktorture.c