On Tue, Jun 09, 2015 at 05:05:57PM -0700, Jarno Rajahalme wrote:
> 
> > On Jun 9, 2015, at 3:30 PM, Ben Pfaff <b...@nicira.com> wrote:
> > 
> > On Tue, Jun 09, 2015 at 03:25:08PM -0700, Jarno Rajahalme wrote:
> >> Should not use ovsrcu_set_hidden() when the pointer may have been
> >> visible to other threads already.
> >> 
> >> Signed-off-by: Jarno Rajahalme <jrajaha...@nicira.com>
> > 
> > I think that rculist_poison__() is only appropriate when an rculist
> > should not be visible to any other threads.  No?
> 
> That was my initial thought as well, but we poison for the case other
> threads are still using it (while they shouldn't), so I thought
> ovsrcu_set_hidden() is not appropriate here after all. I doubt this
> has any practical difference either way, more about what is
> appropriate use.

Is there a code generation difference on x86-64?  If not, then I'm happy
with this change:
Acked-by: Ben Pfaff <b...@nicira.com>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to