increase hash tables for connections and names
authorKay Sievers <kay@vrfy.org>
Sat, 18 Jan 2014 16:38:08 +0000 (17:38 +0100)
committerKay Sievers <kay@vrfy.org>
Sat, 18 Jan 2014 16:38:08 +0000 (17:38 +0100)
bus.h
names.h

diff --git a/bus.h b/bus.h
index 2a2a859ed5b13231055347375cce71d1291b902e..1fafd412dd9fd4ca33b396fb3b8b7db015722b76 100644 (file)
--- 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 447122a4d13b7dbcce9f98022c136167a4afae4e..fdd601f68f3fef4fdea07a60fdd2919fd2739d9e 100644 (file)
--- 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;
 };