Commit 18d7e406 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Paul E. McKenney
Browse files

rcu: rcu_qs -- Use raise_softirq_irqoff to not save irqs twice



The rcu_qs is disabling IRQs by self so no need to do the same in raise_softirq
but instead we can save some cycles using raise_softirq_irqoff directly.

CC: Paul E. McKenney <paulmck@linux.ibm.com>
Signed-off-by: default avatarCyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.ibm.com>
parent 671a6351
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -52,7 +52,7 @@ void rcu_qs(void)
	local_irq_save(flags);
	if (rcu_ctrlblk.donetail != rcu_ctrlblk.curtail) {
		rcu_ctrlblk.donetail = rcu_ctrlblk.curtail;
		raise_softirq(RCU_SOFTIRQ);
		raise_softirq_irqoff(RCU_SOFTIRQ);
	}
	local_irq_restore(flags);
}