diff options
Diffstat (limited to 'ipc/ipc_hash.c')
-rw-r--r-- | ipc/ipc_hash.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/ipc/ipc_hash.c b/ipc/ipc_hash.c index c2412890..a1ca225d 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 */ |