]> www.infradead.org Git - linux.git/commitdiff
softirq: Eliminate cond_resched_rcu_qs() in favor of cond_resched()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 24 Oct 2017 15:31:12 +0000 (08:31 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 4 Dec 2017 18:28:58 +0000 (10:28 -0800)
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>
kernel/softirq.c

index 2f5e87f1bae22f3df44fa4493fcc8b255882267f..24d243ef8e715bd3dd4fe3075edb926147ccdc6a 100644 (file)
@@ -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();