workqueue: Use cond_resched_rcu_qs macro
authorJoe Lawrence <joe.lawrence@stratus.com>
Sun, 5 Oct 2014 17:24:22 +0000 (13:24 -0400)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 6 Oct 2014 12:58:26 +0000 (05:58 -0700)
commit3e28e377204badfc3c4119ff2abda473127ee0ff
tree75653d8e0802e2e7c060f5b49277e9cd87fba8e7
parent789cbbeca4eb7141cbd748ee93772471101b507b
workqueue: Use cond_resched_rcu_qs macro

Tidy up and use cond_resched_rcu_qs when calling cond_resched and
reporting potential quiescent state to RCU.  Splitting this change in
this way allows easy backporting to -stable for kernel versions not
having cond_resched_rcu_qs().

Signed-off-by: Joe Lawrence <joe.lawrence@stratus.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/workqueue.c