diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-10-18 18:03:49 +0200 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-10-18 18:03:49 +0200 |
| commit | 7655c1839dcb9a84e2af9c59214a5df9f7564306 (patch) | |
| tree | 6a0ec97979cb4430ae1677cdd86e6bde51ce0210 | |
| parent | 8d02a0ab041053cf60fcec411cbdd92037fddf4c (diff) | |
| download | man-pages-7655c1839dcb9a84e2af9c59214a5df9f7564306.tar.gz | |
mallopt.3: Improve description of M_ARENA_TEST
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
| -rw-r--r-- | man3/mallopt.3 | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/man3/mallopt.3 b/man3/mallopt.3 index 264be6e0b1..ab91ee860e 100644 --- a/man3/mallopt.3 +++ b/man3/mallopt.3 @@ -76,18 +76,21 @@ This is similar in behavior to strategies taken by tcmalloc and jemalloc (e.g., per-thread allocation pools). .TP .BR M_ARENA_TEST -This is the limit, in number of arenas created, at which the system -configuration will be examined to evaluate a hard limit on the -number of created arenas. -The computed limit is implementation-defined -and is usually a multiple of the number of available CPUs. -Once the limit is computed, the result is final and constrains -the total number of arenas. -See +This parameter specifies a value, in number of arenas created, +at which point the system configuration will be examined +to determine a hard limit on the number of created arenas. +(See .B M_ARENA_MAX -for the definition of an arena. +for the definition of an arena.) + +The computation of the arena hard limit is implementation-defined +and is usually calculated as a multiple of the number of available CPUs. +Once the hard limit is computed, the result is final and constrains +the total number of arenas. -The default value for this parameter is 2 on systems where +The default value for the +.B M_ARENA_TEST +parameter is 2 on systems where .IR sizeof(long) is 4; otherwise the default value is 8. @@ -99,7 +102,7 @@ The value of .B M_ARENA_TEST is not used when .B M_ARENA_MAX -is has a nonzero value. +has a nonzero value. .TP .BR M_CHECK_ACTION Setting this parameter controls how glibc responds when various kinds |
