summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2015-05-06 02:09:54 +0300
committerDavid S. Miller <davem@davemloft.net>2015-05-09 23:05:54 +0300
commit31888234b736f455fa27c8e775df38a60241d562 (patch)
tree36e55dc7afbe3e1cd479623707ba0e8ce92ce72a /tools/perf/scripts/python/net_dropmonitor.py
parent3898c148589752687524ff552a498a8fb4c80667 (diff)
downloadlinux-31888234b736f455fa27c8e775df38a60241d562.tar.xz
net: dsa: mv88e6xxx: Replace stats mutex with SMI mutex
The SMI bus is the bottleneck in all switch operations, not the granularity of locks. Replace the stats mutex by the SMI mutex to make the locking concept simpler. The REG_READ/REG_WRITE macros cannot be used while holding the SMI mutex, since they try to acquire it. Replace with calls to the appropriate function which does not try to get the mutex. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions