aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorVlad Buslov <[email protected]>2018-07-23 11:32:05 +0300
committerSaeed Mahameed <[email protected]>2018-09-05 21:14:57 -0700
commit6e5e22839136fdb466af0aa46ff2404713dff974 (patch)
treef08f3838fa6975aa4ceee8ce4c728f5f98a64a48 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent83033688b7ade18d2dbbcefa810f02ff66ba549d (diff)
net/mlx5: Add new list to store deleted flow counters
In order to prevent flow counters stats work function from traversing whole flow counters tree while searching for deleted flow counters, new list to store deleted flow counters is added to struct mlx5_fc_stats. Lockless NULL-terminated single linked list data type is used due to following reasons: - This use case only needs to add single element to list and remove/iterate whole list. Lockless list doesn't require any additional synchronization for these operations. - First cache line of flow counter data structure only has space to store single additional pointer, which precludes usage of double linked list. Remove flow counter 'deleted' flag that is no longer needed. Signed-off-by: Vlad Buslov <[email protected]> Acked-by: Amir Vadai <[email protected]> Reviewed-by: Paul Blakey <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions