diff options
author | Dmitry Vorobev <dvorobev@cloudflare.com> | 2021-02-01 10:42:08 +0000 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2021-02-01 13:05:30 +0100 |
commit | 04f20d64e087ed572c3515277fb8f611f3091258 (patch) | |
tree | bcc013882e22d2afe80d1c1f30f35f57e915bc53 | |
parent | fecb03bc50faf67247114b8324d1ddfb344cacec (diff) | |
download | man-pages-04f20d64e087ed572c3515277fb8f611f3091258.tar.gz |
malloc_trim.3: Remove mention of free() call
'malloc_trim' was and is never called from the 'free' function.
see related bug in glibc tracker:
https://sourceware.org/bugzilla/show_bug.cgi?id=2531. or
'__int_free' function. Only the top part of the heap is trimmed
after some calls to 'free', which is different from 'malloc_trim'
which also releases memory in between chunks from all the
arenas/heaps.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r-- | man3/malloc_trim.3 | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/man3/malloc_trim.3 b/man3/malloc_trim.3 index 3c4cf5e8b0..84e73fd70f 100644 --- a/man3/malloc_trim.3 +++ b/man3/malloc_trim.3 @@ -80,15 +80,6 @@ T} Thread safety MT-Safe .SH CONFORMING TO This function is a GNU extension. .SH NOTES -This function is automatically called by -.BR free (3) -in certain circumstances; see the discussion of -.B M_TOP_PAD -and -.B M_TRIM_THRESHOLD -in -.BR mallopt (3). -.PP Only the main heap (using .BR sbrk (2)) honors the |