Eric Dumazet 99f5711e7c 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>
2017-02-15 12:06:18 -05:00
..
2017-02-10 13:41:13 -05:00
2017-02-11 20:59:41 -05:00
2017-02-10 14:31:51 -05:00
2017-02-11 20:59:41 -05:00
2017-02-11 20:59:41 -05:00
2017-02-11 20:59:41 -05:00
2017-02-11 20:59:41 -05:00