diff options
author | 2018-06-18 05:56:12 -0700 | |
---|---|---|
committer | 2018-06-19 09:19:40 +0200 | |
commit | 4a5f4d2f891bcff7285b5f7490ed5a7a5d516049 (patch) | |
tree | 793121f61a84714742a1720f35f9f26477c869c9 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | Merge tag '4.18-rc1-more-smb3-fixes' of git://git.samba.org/sfrench/cifs-2.6 (diff) | |
download | wireguard-linux-4a5f4d2f891bcff7285b5f7490ed5a7a5d516049.tar.xz wireguard-linux-4a5f4d2f891bcff7285b5f7490ed5a7a5d516049.zip |
genirq: Use rcu in kstat_irqs_usr()
Jeremy Dorfman identified mutex contention when multiple threads
parse /proc/stat concurrently.
Since commit 425a5072dcd1 ("genirq: Free irq_desc with rcu"),
kstat_irqs_usr() can be switched to rcu locking, which removes this mutex
contention.
show_interrupts() case will be handled in a separate patch.
Reported-by: Jeremy Dorfman <jdorfman@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Willem de Bruijn <willemb@google.com>
Link: https://lkml.kernel.org/r/20180618125612.155057-1-edumazet@google.com
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions