]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rcu: Make rcu_torture_fqs() exit loops at end of test
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 17 Aug 2011 19:39:34 +0000 (12:39 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 26 Aug 2011 04:42:09 +0000 (21:42 -0700)
commit38e7a29ae243064e800be9a99d65e1be396b9923
tree500151edf4410dcb86b1c33658846a6f1013d968
parentc92407dbb8788f542a202cdf0aa14415b0770cd2
rcu: Make rcu_torture_fqs() exit loops at end of test

The rcu_torture_fqs() function can prevent the rcutorture tests from
completing, resulting in a hang.  This commit therefore ensures that
rcu_torture_fqs() will exit its inner loops at the end of the test,
and also applies the newish ULONG_CMP_LT() macro to time comparisons.

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