On 14/02/2017 6:28 PM, David Miller wrote:
From: Eric Dumazet <eric.duma...@gmail.com>
Date: Thu, 09 Feb 2017 09:10:04 -0800
From: Eric Dumazet <eduma...@google.com>
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 <eduma...@google.com>
Cc: Tariq Toukan <tar...@mellanox.com>
Tariq or someone else at Mellanox please review, this patch has been
rotting for 5 days in patchwork.
Thank you.
Reviewed-by: Tariq Toukan <tar...@mellanox.com>
Thanks.