aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-10-18 17:53:29 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-10-18 17:53:29 +0200
commit8d02a0ab041053cf60fcec411cbdd92037fddf4c (patch)
tree7825cc60dadf0177d070eaee9e43d80e257a0375
parent3bbab71ae8aa84bfbfbff05dc7bff955a5de85c0 (diff)
downloadman-pages-8d02a0ab041053cf60fcec411cbdd92037fddf4c.tar.gz
mallopt.3: Correct the description of M_ARENA_MAX==0
Reported-by: Siddhesh Poyarekar <siddhesh@sourceware.org> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man3/mallopt.36
1 files changed, 4 insertions, 2 deletions
diff --git a/man3/mallopt.3 b/man3/mallopt.3
index 44bec52f58..264be6e0b1 100644
--- a/man3/mallopt.3
+++ b/man3/mallopt.3
@@ -57,7 +57,9 @@ The more arenas you have, the lower the per-thread contention,
but the higher the memory usage.
The default value of this parameter is 0,
-meaning that there is no limit on the number of arenas that can be created.
+meaning that the limit on the number of arenas is determined
+according to the setting of
+.BR M_ARENA_TEST .
This parameter has been available since glibc 2.10 via
.BR \-\-enable\-experimental\-malloc ,
@@ -97,7 +99,7 @@ The value of
.B M_ARENA_TEST
is not used when
.B M_ARENA_MAX
-is defined.
+is has a nonzero value.
.TP
.BR M_CHECK_ACTION
Setting this parameter controls how glibc responds when various kinds