summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2020-02-20 10:07:47 +0300
committerDavid S. Miller <davem@davemloft.net>2020-02-20 21:04:33 +0300
commit6c5a688e7544ff1355bd89097f93ec6013bf6492 (patch)
tree283f9f140f8419f0ac024f8e5d731c471e9bc185 /tools/perf/scripts/python/export-to-sqlite.py
parent48fe78cebdf6592ef1750647253101f3526c5b7b (diff)
downloadlinux-6c5a688e7544ff1355bd89097f93ec6013bf6492.tar.xz
mlxsw: spectrum: Protect counter pool with a lock
The counter pool is a shared resource. It is used by both the ACL code to allocate counters for actions and by the routing code to allocate counters for adjacency entries (for example). Currently, all allocations are protected by RTNL, but this is going to change with the removal of RTNL from the routing code. Therefore, protect counter allocations with a spin lock. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions