summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.ibm.com>2019-04-02 01:12:47 +0300
committerPaul E. McKenney <paulmck@linux.ibm.com>2019-05-26 00:50:48 +0300
commit385b599e8c04fa843c4d7f785478827cc512d720 (patch)
tree31ec5afef56e23943efcbf6c652059fd5e5cf73f /tools/perf/util/scripting-engines/trace-event-python.c
parent25102de65fdd246eb6801114ce6dfa3a076bb678 (diff)
downloadlinux-385b599e8c04fa843c4d7f785478827cc512d720.tar.xz
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: Paul E. McKenney <paulmck@linux.ibm.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions