hmap: Remove unused hmap_contains() function.

Signed-off-by: Ben Pfaff <blp@nicira.com>
util: New functions for allocating memory while avoiding false sharing.

This factors code out of fat-rwlock, making it easily usable by other code.

Signed-off-by: Ben Pfaff <blp@nicira.com>
ovs-thread: Replace ovsthread_counter by more general ovsthread_stats.

Signed-off-by: Ben Pfaff <blp@nicira.com>
dpif-netdev: Use ovsthread_stats for flow stats.

Signed-off-by: Ben Pfaff <blp@nicira.com>
ovs-rcu: New library.

Signed-off-by: Ben Pfaff <blp@nicira.com>
ofproto: Protect rule_actions with RCU.
dpif-netdev: RCU-protect flows in the classifier.

Signed-off-by: Ben Pfaff <blp@nicira.com>
dpif-netdev: Use RCU to protect flow actions.

Signed-off-by: Ben Pfaff <blp@nicira.com>