summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2020-02-21 20:54:09 +0300
committerDavid S. Miller <davem@davemloft.net>2020-02-23 08:24:51 +0300
commit20bf5d82bbec128c3ead91c6f98cfcd45df21013 (patch)
tree282b61da6f92065b961c32b7a2aa6b582103a04b /tools/perf/scripts/python
parent8e18d85eab9d3f73acc9ae93bc2cfd5103feebe4 (diff)
downloadlinux-20bf5d82bbec128c3ead91c6f98cfcd45df21013.tar.xz
mlxsw: spectrum_router: Introduce router lock
Introduce a mutex to protect the internal structure of the routing code. A single lock is added instead of a more fine-grained and complicated locking scheme because there is not a lot of concurrency in the routing code. The main motivation is remove the dependence on RTNL lock, which is currently used by both the process pushing routes to the kernel and the workqueue pushing the routes to the underlying device. 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')
0 files changed, 0 insertions, 0 deletions