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>
Thu, 29 Sep 2011 04:38:44 +0000 (21:38 -0700)
commit93898fb1a395d2a5a53db238c68036da2f8c64d1
treebe5b53612cce334959a73617986ab9f3dc859c31
parent5342e269b2b58ee0b0b4168a94087faaa60d0567
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