[ovs-dev] [PATCH] cmap: Fix memory ordering for counter_changed().

Ben Pfaff blp at nicira.com
Wed May 21 23:44:02 UTC 2014


On Wed, May 21, 2014 at 12:39:11PM -0700, Jarno Rajahalme wrote:
> Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>

Thanks.  Applied to master.

> I still worry about reordering of the non-atomic reads in between
> the read_counter() calls, as in principle the acquire barrier does
> not prevent loads before such a barrier to be moved after it. Thus,
> this could happen:

I agree that we can and should improve it.



More information about the dev mailing list