This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug malloc/14827] free() doesn't honor M_TRIM_THRESHOLD
- From: "carlos at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 28 Nov 2016 13:41:59 +0000
- Subject: [Bug malloc/14827] free() doesn't honor M_TRIM_THRESHOLD
- Auto-submitted: auto-generated
- References: <bug-14827-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=14827
Carlos O'Donell <carlos at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |carlos at redhat dot com
--- Comment #3 from Carlos O'Donell <carlos at redhat dot com> ---
The way we are going to improve this situation is IMO by moving from fastbins
to per-thread caches, and those caches will have a size limit to limit RSS
growth.
The fastbins are not as fast as lockless per-thread caches which is the common
implementation across tcmalloc and jemalloc.
We already have an implementation in dj/malloc which has been proposed and
posted.
--
You are receiving this mail because:
You are on the CC list for the bug.