]> 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>
Mon, 12 Sep 2011 17:18:44 +0000 (10:18 -0700)
commit0631616881a02a8a9cdc8668caa08750d4bafbf2
treee56ddbf140b6622ba0a878291c3f539bf45f522b
parent4b75ad090c9757c05a048b6e23bbf6d1110db73d
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