[PATCH] manual: update recent malloc tunable defaults
Adhemerval Zanella Netto
adhemerval.zanella@linaro.org
Wed Apr 1 12:42:30 GMT 2026
On 01/04/26 05:09, Rocket Ma wrote:
> 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>
LGTM, thanks.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
> ---
> 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).
>
More information about the Libc-alpha
mailing list