[ovs-git] Open vSwitch: lib/hmap: Remove the memory fence from hmap_is_empty(). (master)

dev at openvswitch.org dev at openvswitch.org
Wed Mar 19 15:46:41 UTC 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  543ede7e3eaac62c14a061296722839829b0cef8 (commit)
      from  61e7deb14330d107464c2ea70ed2a9f2f1d27af6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 543ede7e3eaac62c14a061296722839829b0cef8
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=543ede7e3eaac62c14a061296722839829b0cef8
Author: Jarno Rajahalme <jrajahalme at nicira.com>
		
lib/hmap: Remove the memory fence from hmap_is_empty().
		
The fence made classifier_lookup() slower.  Access to a size_t 'n' is
safe without synchonizing, and if racing with writers matters,
additional syncronization primitives are used anyway.

Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 lib/hmap.h |    1 -
 1 file changed, 1 deletion(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list