• Paul E. McKenney's avatar
    ksoftirqd: Use new cond_resched_rcu_qs() function · 60479676
    Paul E. McKenney authored
    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: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
softirq.c 18.8 KB