aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2011-07-18 16:08:27 +0200
committerPatrick McHardy <[email protected]>2011-07-18 16:08:27 +0200
commit84a797dd0b9f7130357b70577fcbda8e638c71a7 (patch)
tree6d093dba184228f689873b7171d63933f0676e0d /tools/perf/scripts/python/syscall-counts-by-pid.py
parent6b75e3e8d664a9a1b99d31a7f4976ae70d1d090a (diff)
netfilter: nfnetlink_queue: provide rcu enabled callbacks
nenetlink_queue operations on SMP are not efficent if several queues are used, because of nfnl_mutex contention when applications give packet verdict. Use new call_rcu field in struct nfnl_callback to advertize a callback that is called under rcu_read_lock instead of nfnl_mutex. On my 2x4x2 machine, I was able to reach 2.000.000 pps going through user land returning NF_ACCEPT verdicts without losses, instead of less than 500.000 pps before patch. Signed-off-by: Eric Dumazet <[email protected]> CC: Florian Westphal <[email protected]> CC: Eric Leblond <[email protected]> Signed-off-by: Patrick McHardy <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions