[ovs-dev] [PATCH 1/5] datapath: Don't use RCU for internal dev vport.

Ben Pfaff blp at nicira.com
Fri Dec 10 22:49:35 UTC 2010


On Fri, Dec 10, 2010 at 12:42:53PM -0800, Jesse Gross wrote:
> The vports are now attached and ready to go when they are allocated,
> so we don't have to worry about future changes.  As a result, we can
> directly store the pointer in the internal dev's netdevice private
> space before it is registered.  The registration process will handle
> the necessary write memory barriers and anyone who has a reference
> to the netdev will have done the read side barriers, we don't need
> to use RCU at all.
> 
> Signed-off-by: Jesse Gross <jesse at nicira.com>

Acked-by: Ben Pfaff <blp at nicira.com>




More information about the dev mailing list