[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20131225170258.GA5735@netboy>
Date: Wed, 25 Dec 2013 18:02:58 +0100
From: Richard Cochran <richardcochran@...il.com>
To: Shawn Bohrer <shawn.bohrer@...il.com>
Cc: Tom Ketterhagen <tomk@...advisors.com>,
netdev <netdev@...r.kernel.org>, Amir Vadai <amirv@...lanox.com>,
Or Gerlitz <ogerlitz@...lanox.com>,
Hadar Hen Zion <hadarh@...lanox.com>,
"David S. Miller" <davem@...emloft.net>,
Shawn Bohrer <sbohrer@...advisors.com>
Subject: Re: [PATCH net-next 1/2] mlx4_en: Add PTP hardware clock
On Wed, Dec 25, 2013 at 08:11:00AM -0600, Shawn Bohrer wrote:
>
> The read/write lock appears to meet these needs but also appears to be
> frowned upon and RCU seems to be preferred. I'm a bit ignorant when it
> comes to RCU, but can it be used in this case?
No, don't use RCU. It would not make sense here. Just use
reader/writer locks.
Thanks,
Richard
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists