diff options
author | Andrew Lunn <andrew@lunn.ch> | 2018-02-15 14:38:34 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-16 15:37:09 -0500 |
commit | 377cda13a25513f714ea5b5a765408292ca4627a (patch) | |
tree | 262d89cd47aab4e32940865e14e98dd07f558297 /drivers/oprofile/buffer_sync.h | |
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 <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/oprofile/buffer_sync.h')
0 files changed, 0 insertions, 0 deletions