]> 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>
Fri, 26 Aug 2011 04:42:11 +0000 (21:42 -0700)
commit1bc68bd0cfa66b82d006a3482771558f42b88919
treefaa49d5b3fa0318321684d8f3ef5a5a1987c21ce
parent38e7a29ae243064e800be9a99d65e1be396b9923
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