diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-10-24 11:31:12 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-12-04 13:28:58 -0500 |
commit | edf22f4ca26babcd8cba4f049c6be53f0e73bcc1 (patch) | |
tree | 6ca9a779cf12b998e5cdb987792c099357fde527 | |
parent | e31d28b6ab8f0431e2288edb02723269f54d1471 (diff) |
softirq: Eliminate cond_resched_rcu_qs() in favor of cond_resched()
Now that cond_resched() also provides RCU quiescent states when
needed, it can be used in place of cond_resched_rcu_qs(). This
commit therefore makes this change.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: NeilBrown <neilb@suse.com>
Cc: Ingo Molnar <mingo@kernel.org>
-rw-r--r-- | kernel/softirq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/softirq.c b/kernel/softirq.c index 2f5e87f1bae2..24d243ef8e71 100644 --- a/kernel/softirq.c +++ b/kernel/softirq.c | |||
@@ -665,7 +665,7 @@ static void run_ksoftirqd(unsigned int cpu) | |||
665 | */ | 665 | */ |
666 | __do_softirq(); | 666 | __do_softirq(); |
667 | local_irq_enable(); | 667 | local_irq_enable(); |
668 | cond_resched_rcu_qs(); | 668 | cond_resched(); |
669 | return; | 669 | return; |
670 | } | 670 | } |
671 | local_irq_enable(); | 671 | local_irq_enable(); |