[PATCH] manual: update recent malloc tunable defaults

Rocket Ma marocketbd@gmail.com
Wed Apr 1 08:09:59 GMT 2026


manual/tunables.texi: update glibc.malloc.tcache_count to 16, in sync
with source code; fix a typo in glibc.mem.decorate_maps tunable

Signed-off-by: Rocket Ma <marocketbd@gmail.com>
---
 manual/tunables.texi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/manual/tunables.texi b/manual/tunables.texi
index 72769428e8..cb6a83754b 100644
--- a/manual/tunables.texi
+++ b/manual/tunables.texi
@@ -231,7 +231,7 @@ per-thread cache.  The default (and maximum) value is 1032 bytes on
 @end deftp
 
 @deftp Tunable glibc.malloc.tcache_count
-The maximum number of chunks of each size to cache. The default is 7.
+The maximum number of chunks of each size to cache. The default is 16.
 The upper limit is 65535.  If set to zero, the per-thread cache is effectively
 disabled.
 
@@ -700,7 +700,7 @@ system with a string describing its usage (for instance, on the thread
 stack created by @code{pthread_create} or memory allocated by
 @code{malloc}).
 
-The process mappings can be obtained by reading the @code{/proc/<pid>maps}
+The process mappings can be obtained by reading the @code{/proc/<pid>/maps}
 (with @code{pid} being either the @dfn{process ID} or @code{self} for the
 process own mapping).
 
-- 
2.53.0



More information about the Libc-alpha mailing list