aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-10-18 18:03:49 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-10-18 18:03:49 +0200
commit7655c1839dcb9a84e2af9c59214a5df9f7564306 (patch)
tree6a0ec97979cb4430ae1677cdd86e6bde51ce0210
parent8d02a0ab041053cf60fcec411cbdd92037fddf4c (diff)
downloadman-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.325
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