[glibc] manual: update recent malloc tunable defaults
Adhemerval Zanella via Glibc-cvs <[email protected]>
| Newsgroups | gmane.comp.lib.glibc.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a7fc50a5407d119014aa5660f5d1c299ac231148 commit a7fc50a5407d119014aa5660f5d1c299ac231148 Author: Rocket Ma <[email protected]> Date: Wed Apr 1 01:09:59 2026 -0700 manual: update recent malloc tunable defaults 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 <[email protected]> Reviewed-by: Adhemerval Zanella <[email protected]> Diff: --- 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).