]> git.karo-electronics.de Git - linux-beck.git/commit
torture: Intensify locking test
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 26 Feb 2014 20:14:51 +0000 (12:14 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 14 May 2014 00:03:01 +0000 (17:03 -0700)
commitda601c63fd3a3e6c30f85eefd5ee46397b5b439d
treed822406631e006e403310c60436c9b0e751f0d83
parent2f66dbc1e89c0eabd625c584f9b9602be58d1571
torture: Intensify locking test

The current lock_torture_writer() spends too much time sleeping and not
enough time hammering locks, as in an eight-CPU test will often only be
utilizing a CPU or two.  This commit therefore makes lock_torture_writer()
sleep less and hammer more.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/locking/locktorture.c