Skip to content
Commit 385b599e authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

rcu: Allow rcu_read_unlock_special() to raise_softirq() if in_irq()



When running in an interrupt handler, raise_softirq() and
raise_softirq_irqoff() have extremely low overhead: They simply set a
bit in a per-CPU mask, which is checked upon exit from that interrupt
handler.  Therefore, if rcu_read_unlock_special() is invoked within an
interrupt handler and RCU_SOFTIRQ is in use, this commit make use of
raise_softirq_irqoff() even if there is no expedited grace period in
flight and even if this is not a nohz_full CPU.

Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.ibm.com>
parent 25102de6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment