]> git.proxmox.com Git - ovs.git/commit
ofproto/ofproto: Use relaxed atomics.
authorJarno Rajahalme <jrajahalme@nicira.com>
Fri, 29 Aug 2014 17:34:53 +0000 (10:34 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Fri, 29 Aug 2014 17:34:53 +0000 (10:34 -0700)
commitafcea9ea04695308e42d23d088449e1d0de492ad
treec369d2105aaeb99a8c5c97b1ff8740af1ebc9021
parentfc4a1204b79a0bfd8111c3e4bc1c6e403dfac944
ofproto/ofproto: Use relaxed atomics.

Neither 'miss_config', 'n_missed', nor 'n_matched' is used to
synchronize the state of any other variable, so we can use relaxed
atomic operations on them.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto-dpif.c
ofproto/ofproto.c