aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorAnna-Maria Gleixner <[email protected]>2018-06-12 16:16:20 +0000
committerThomas Gleixner <[email protected]>2018-06-12 21:33:24 +0000
commitccfbb5bed407053b27492a9adc06064d949a9aa6 (patch)
tree1d12a1c6ba9e081d8af26dee5e60f8ed89bcdff2 /tools/perf/scripts/python/syscall-counts-by-pid.py
parentalpha: Remove custom dec_and_lock() implementation (diff)
downloadkernel-ccfbb5bed407053b27492a9adc06064d949a9aa6.tar.gz
kernel-ccfbb5bed407053b27492a9adc06064d949a9aa6.zip
atomic: Add irqsave variant of atomic_dec_and_lock()
There are in-tree users of atomic_dec_and_lock() which must acquire the spin lock with interrupts disabled. To workaround the lack of an irqsave variant of atomic_dec_and_lock() they use local_irq_save() at the call site. This causes extra code and creates in some places unneeded long interrupt disabled times. These places need also extra treatment for PREEMPT_RT due to the disconnect of the irq disabling and the lock function. Implement the missing irqsave variant of the function. Signed-off-by: Anna-Maria Gleixner <[email protected]> Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lkml.kernel.org/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions