From 3e1e05655f232c2e920f25283505dd1a8d46b041 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sat, 18 Jan 2014 17:38:08 +0100 Subject: [PATCH] increase hash tables for connections and names --- bus.h | 2 +- names.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; }; -- 2.34.1