On Nov 6, 2014, at 12:21 PM, Ben Pfaff <b...@nicira.com> wrote:

> The classifier has an internal mutex, but in ofproto that mutex is
> redundant with the external ofproto_mutex.  If the classifier mutex were
> removed, to be replaced by documentation that certain routines need
> mutual exclusion, then possibly the reduced locking could yield a
> performance improvement.
> 
> However, I don't think any of the functions that take the lock are on
> fast paths anyway, so this is just a thought.

How about removing the mutex and adding a wrapper layer for those users who 
don’t have the mutex (like guarded_list/list)?

  Jarno

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to