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
> them.
> 
> Move the atomic read operation of 'enable_megaflows' outside the loop
> in handle_upcalls().
> 
> Signed-off-by: Jarno Rajahalme <jrajaha...@nicira.com>

Acked-by: Ben Pfaff <b...@nicira.com>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to