diff options
author | Andrew Lunn <[email protected]> | 2018-02-15 14:38:34 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-02-16 15:37:09 -0500 |
commit | 377cda13a25513f714ea5b5a765408292ca4627a (patch) | |
tree | 262d89cd47aab4e32940865e14e98dd07f558297 /net/unix/af_unix.c | |
parent | 65bd449c32c2745df61913ab54087e77f9d9b70d (diff) |
net: dsa: mv88e6xxx: Release mutex between each statistics read
The PTP code needs low latency access to the PTP hardware timestamps.
Reading all the statistics in one go adds a lot of latency to the PTP
code. So take and release the reg_lock mutex for each individual
statistics, allowing the PTP thread jump in between.
Signed-off-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions