On Tue, May 20, 2014 at 03:53:26PM -0700, Ben Pfaff wrote: > I suspect that unconditionally taking the write-lock in > update_mcast_snooping_table() is going to serialize flow translation, > in practice. That's why update_learning_table() checks whether any > change is needed under the read-lock first, then grabs the write-lock > if it's really needed. But in the long run RCU is better (and we > should probably adapt mac-learning to use it, or we could switch to a > fatlock there as an easy first step).
Looking at the next patch, I guess it only matters for multicast packets. Maybe not worth bothering. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev