torture: Consolidate cond_resched_rcu_qs() into stutter_wait()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 30 Aug 2015 10:29:58 +0000 (03:29 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 6 Oct 2015 18:25:01 +0000 (11:25 -0700)
commit3836f5337f74fedc15981688c3c31dbf4293ae84
treea38f08f864e18120fdecbb923f685ac875efcc5d
parent617783dd99704331e22636388c932450e02ee636
torture: Consolidate cond_resched_rcu_qs() into stutter_wait()

This commit moves cond_resched_rcu_qs() into stutter_wait(), saving
a line and also avoiding RCU CPU stall warnings from all torture
loops containing a stutter_wait().

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
kernel/rcu/rcutorture.c
kernel/torture.c