diff options
author | 2017-02-09 09:10:04 -0800 | |
---|---|---|
committer | 2017-02-15 12:06:18 -0500 | |
commit | 99f5711e7c15e997c4eb34b378502ef6f3982233 (patch) | |
tree | 073958fdc459566c31bf02177ada4f42ac1e3b03 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: ethernet: ti: cpsw: use var instead of func for usage count (diff) | |
download | linux-dev-99f5711e7c15e997c4eb34b378502ef6f3982233.tar.xz linux-dev-99f5711e7c15e997c4eb34b378502ef6f3982233.zip |
mlx4: do not use rwlock in fast path
Using a reader-writer lock in fast path is silly, when we can
instead use RCU or a seqlock.
For mlx4 hwstamp clock, a seqlock is the way to go, removing
two atomic operations and false sharing.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Tariq Toukan <tariqt@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions