aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-10-18 08:56:19 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-10-18 08:56:19 +0200
commit19557f40433436932b2cae030daa9ebae082584e (patch)
treee683243448516e6df5b638c46ca3ade80540382f
parentb075133f9c8448e9b8963134e91ae2e5242924f8 (diff)
downloadman-pages-19557f40433436932b2cae030daa9ebae082584e.tar.gz
mallopt.3: Document 0 as default value of M_ARENA_MAX and explain its meaning
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man3/mallopt.33
1 files changed, 3 insertions, 0 deletions
diff --git a/man3/mallopt.3 b/man3/mallopt.3
index 6db1d1c945..58e3614954 100644
--- a/man3/mallopt.3
+++ b/man3/mallopt.3
@@ -56,6 +56,9 @@ The trade-off is between the number of threads and the number of arenas.
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.
+
This parameter has been available since glibc 2.10 via
.BR \-\-enable\-experimental\-malloc ,
and since glibc 2.15 by default.