[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170214.112851.873582209944615021.davem@davemloft.net>
Date: Tue, 14 Feb 2017 11:28:51 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, tariqt@...lanox.com,
sbohrer@...advisors.com
Subject: Re: [PATCH net-next] mlx4: do not use rwlock in fast path
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Thu, 09 Feb 2017 09:10:04 -0800
> From: Eric Dumazet <edumazet@...gle.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 <edumazet@...gle.com>
> Cc: Tariq Toukan <tariqt@...lanox.com>
Tariq or someone else at Mellanox please review, this patch has been
rotting for 5 days in patchwork.
Thank you.
Powered by blists - more mailing lists