[ovs-dev] [PATCH 09/18] lib/bfd: Used relaxed atomics and optimize bfd_should_process_flow().
blp at nicira.com
Thu Aug 28 16:59:19 UTC 2014
On Fri, Aug 22, 2014 at 01:58:20PM -0700, Jarno Rajahalme wrote:
> The atomics here do not synchronize the state of any other variables,
> so we can use atomic_count and relaxed atomics.
> bfd_should_process_flow() is rearranged to set the megaflow mask bits
> only if necessary, and to avoid the atomic operation on non-BFD
> Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>
More information about the dev