1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00

Fix calculation of the number of arenas to use on multi-processor systems.

This commit is contained in:
Jason Evans 2006-02-04 01:11:30 +00:00
parent a02a1efa9f
commit d8a1377b1b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=155272

View File

@ -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;