diff options
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r-- | lib/libc/stdlib/malloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdlib/malloc.c b/lib/libc/stdlib/malloc.c index ce9e46e..0c7c9cc 100644 --- a/lib/libc/stdlib/malloc.c +++ b/lib/libc/stdlib/malloc.c @@ -4467,7 +4467,7 @@ malloc_init_hard(void) } /* Determine how many arenas to use. */ - narenas = 1; + narenas = ncpus; if (opt_narenas_lshift > 0) narenas <<= opt_narenas_lshift; |