[ovs-dev] [PATCHv2] datapath: Return vport configuration when queried.
Ben Pfaff
blp at nicira.com
Thu Dec 23 22:10:36 UTC 2010
On Thu, Dec 23, 2010 at 02:06:14PM -0800, Justin Pettit wrote:
> Thanks for the feedback. I've had more experience using traditional
> locking mechanisms, and I wasn't in the right mindset for read/write
> locks.
As an aside, "read/write locks" and RCU-based locking are quite
different. If we were using read/write locks, then all of the reader
code (including all of packet processing) would have to take the read
side of the lock, which would mean that the write side that you're
modifying here wouldn't have to worry about readers seeing intermediate
versions. But RCU is quite a different beast.
More information about the dev
mailing list