From: Kay Sievers Date: Sat, 18 Jan 2014 16:38:08 +0000 (+0100) Subject: increase hash tables for connections and names X-Git-Tag: upstream/0.20140120.123719~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3e1e05655f232c2e920f25283505dd1a8d46b041;p=platform%2Fcore%2Fsystem%2Fkdbus-bus.git increase hash tables for connections and names --- diff --git a/bus.h b/bus.h index 2a2a859..1fafd41 100644 --- a/bus.h +++ b/bus.h @@ -57,7 +57,7 @@ struct kdbus_bus { u64 ep_seq_last; atomic64_t conn_seq_last; struct idr conn_idr; - DECLARE_HASHTABLE(conn_hash, 6); + DECLARE_HASHTABLE(conn_hash, 8); struct list_head ep_list; u64 bus_flags; size_t bloom_size; diff --git a/names.h b/names.h index 447122a..fdd601f 100644 --- a/names.h +++ b/names.h @@ -22,7 +22,7 @@ * @name_seq_last: Last used sequence number to assign to a name entry */ struct kdbus_name_registry { - DECLARE_HASHTABLE(entries_hash, 6); + DECLARE_HASHTABLE(entries_hash, 8); struct mutex entries_lock; u64 name_seq_last; };