[Bug malloc/33886] Fastbin can grow indefinitely and never release

roche at httrack dot com sourceware-bugzilla@sourceware.org
Wed Mar 18 17:50:53 GMT 2026


https://sourceware.org/bugzilla/show_bug.cgi?id=33886

Xavier Roche <roche at httrack dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #16666|0                           |1
        is obsolete|                            |

--- Comment #12 from Xavier Roche <roche at httrack dot com> ---
Created attachment 16667
  --> https://sourceware.org/bugzilla/attachment.cgi?id=16667&action=edit
malloc: madvise interior free chunks, hybrid page-gate + accumulator (v3)

Revised patch addressing the repeated-madvise concern.

Two triggers in _int_free_maybe_trim:
- If the freed block is >= page size: madvise immediately.
- If sub-page: accumulate per arena, madvise when counter crosses 256 KB.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list