[ovs-dev] [PATCH 16/18] ofproto/ofproto-dpif-upcall: Use relaxed atomic operations.
blp at nicira.com
Thu Aug 28 19:20:35 UTC 2014
On Fri, Aug 22, 2014 at 01:58:27PM -0700, Jarno Rajahalme wrote:
> Neither 'enable_megaflows', 'udpif->flow_limit', 'udpif->n_flows', nor
> 'udpif->n_flows_timestamp' are used to synchronize the state of any
> other variables, so we can use relaxed atomic operations to access
> Move the atomic read operation of 'enable_megaflows' outside the loop
> in handle_upcalls().
> Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>
More information about the dev