summaryrefslogtreecommitdiff
path: root/ipc/ipc_hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipc_hash.c')
-rw-r--r--ipc/ipc_hash.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/ipc/ipc_hash.c b/ipc/ipc_hash.c
index c241289..a1ca225 100644
--- a/ipc/ipc_hash.c
+++ b/ipc/ipc_hash.c
@@ -537,11 +537,8 @@ ipc_hash_init(void)
/* if not configured, initialize ipc_hash_global_size */
- if (ipc_hash_global_size == 0) {
- ipc_hash_global_size = ipc_tree_entry_max >> 8;
- if (ipc_hash_global_size < 32)
- ipc_hash_global_size = 32;
- }
+ if (ipc_hash_global_size == 0)
+ ipc_hash_global_size = 256;
/* make sure it is a power of two */