aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorXin Long <[email protected]>2016-02-15 14:28:03 +0800
committerDavid S. Miller <[email protected]>2016-02-17 15:41:54 -0500
commitf46c7011b062726b798fa3326b5b0c2711ead2a0 (patch)
tree9215761a2e50d904ae301f366deea5aa4d2da6f0 /tools/perf/scripts/python/syscall-counts-by-pid.py
parentbd4508e8507cbeee3c0fd96a1f96327b07c490b9 (diff)
sctp: move rcu_read_lock from __sctp_lookup_association to sctp_lookup_association
__sctp_lookup_association() is only invoked by sctp_v4_err() and sctp_rcv(), both which run on the rx BH, and it has been protected by rcu_read_lock [see ip_local_deliver_finish() / ipv6_rcv()]. So we can move it to sctp_lookup_association, only let sctp_lookup_association use rcu_read_lock. Signed-off-by: Xin Long <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions