aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2018-02-15 14:38:35 +0100
committerDavid S. Miller <davem@davemloft.net>2018-02-16 15:37:09 -0500
commita61e54063423e9e8d604ea54e6664433946fe6af (patch)
treebbd95defbeab98303a0b443ed7e1cb7420a33986 /tools/perf/scripts/python
parentnet: dsa: mv88e6xxx: Release mutex between each statistics read (diff)
downloadlinux-a61e54063423e9e8d604ea54e6664433946fe6af.tar.gz
linux-a61e54063423e9e8d604ea54e6664433946fe6af.zip
net: dsa: mv88e6xxx: Release mutex between each ATU read
The PTP code needs low latency access to the PTP hardware timestamps. Reading all the ATU entries in one go adds a lot of latency to the PTP code. So take and release the reg_lock mutex for each individual MAC address in the ATU, allowing the PTP thread jump in between. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions