ksoftirqd: Use new cond_resched_rcu_qs() function
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 14 Jan 2015 21:20:26 +0000 (13:20 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 14 Jan 2015 21:20:26 +0000 (13:20 -0800)
commit60479676eb6e9913176d93ebad194e3dc167bc63
tree14f773bcb7af0375940e81735396afe82942c7ab
parent28423ad283d5348793b0c45cc9b1af058e776fd6
ksoftirqd: Use new cond_resched_rcu_qs() function

Simplify run_ksoftirqd() by using the new cond_resched_rcu_qs() function
that conditionally reschedules, but unconditionally supplies an RCU
quiescent state.  This commit is separate from the previous commit by
Calvin Owens because Calvin's approach can be backported, while this
commit cannot be.  The reason that this commit cannot be backported is
that cond_resched_rcu_qs() does not always provide the needed quiescent
state in earlier kernels.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/softirq.c