Re: [ovs-dev] [PATCH v2 4/5] Use ovs_refcount_unref_relaxed.

2014-07-07 Thread Jarno Rajahalme
On Jul 7, 2014, at 9:47 AM, Ben Pfaff wrote: > On Fri, Jul 04, 2014 at 07:21:18AM -0700, Jarno Rajahalme wrote: >> After a quick analysis, in most cases the access to refcounted objects >> is clearly protected either with an explicit lock/mutex, or RCU. there >> are only a few places where I lef

Re: [ovs-dev] [PATCH v2 4/5] Use ovs_refcount_unref_relaxed.

2014-07-07 Thread Ben Pfaff
On Fri, Jul 04, 2014 at 07:21:18AM -0700, Jarno Rajahalme wrote: > After a quick analysis, in most cases the access to refcounted objects > is clearly protected either with an explicit lock/mutex, or RCU. there > are only a few places where I left a call to ovs_refcount_unref(). > Upon closer analy

[ovs-dev] [PATCH v2 4/5] Use ovs_refcount_unref_relaxed.

2014-07-04 Thread Jarno Rajahalme
After a quick analysis, in most cases the access to refcounted objects is clearly protected either with an explicit lock/mutex, or RCU. there are only a few places where I left a call to ovs_refcount_unref(). Upon closer analysis it may well be that those could also use the relaxed form. Signed-of