On Dec 30, 2013, at 3:32 PM, Ben Pfaff <b...@nicira.com> wrote: > In the end, my goal here is to provide a useful abstraction and a > simple implementation that is likely to be correct. Then, later, if > profiling shows that this is an actual bottleneck, we can optimize > it. But I don't want to spend a bunch of time optimizing code that I > don't even know is important.
Would using a single atomic int be worse than using an array of locks? At least it would be simpler and obviously correct? Jarno
_______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev