summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-10-24 17:31:12 +0200
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-12-04 19:28:58 +0100
commitedf22f4ca26babcd8cba4f049c6be53f0e73bcc1 (patch)
tree6ca9a779cf12b998e5cdb987792c099357fde527
parenttrace: Eliminate cond_resched_rcu_qs() in favor of cond_resched() (diff)
downloadlinux-edf22f4ca26babcd8cba4f049c6be53f0e73bcc1.tar.xz
linux-edf22f4ca26babcd8cba4f049c6be53f0e73bcc1.zip
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.c2
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)
*/
__do_softirq();
local_irq_enable();
- cond_resched_rcu_qs();
+ cond_resched();
return;
}
local_irq_enable();