]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rcu: Make rcu_torture_boost() exit loops at end of test
authorPaul E. McKenney <paul.mckenney@linaro.org>
Thu, 18 Aug 2011 16:30:32 +0000 (09:30 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 12 Sep 2011 17:18:45 +0000 (10:18 -0700)
commit6f0173298fad69e6a8c46274c4158b17c496521a
treeef479333d05db29a530c053e061260d2c2a34b51
parent0631616881a02a8a9cdc8668caa08750d4bafbf2
rcu: Make rcu_torture_boost() exit loops at end of test

One of the loops in rcu_torture_boost() fails to check kthread_should_stop(),
and thus might be slowing or even stopping completion of rcutorture tests
at rmmod time.  This commit adds the kthread_should_stop() check to the
offending loop.

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