[Bug debuginfod/31103] periodically malloc_trim()

fche at redhat dot com sourceware-bugzilla@sourceware.org
Tue Mar 19 11:06:20 GMT 2024


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

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #11 from Frank Ch. Eigler <fche at redhat dot com> ---
further malloc_trim()s may be investigated in other spots.

    PR31103: debuginfod: periodically call malloc_trim(0)

    Add malloc_trim() for releasing memory which is allocated for
    temporary purposes, e.g. answering queries, adding data to the
    database during scans.  This patch just adds one call after the groom
    cycle, but others could be added around webapi query handling or
    scanning ops too.

    Signed-off-by: Di Chen <dichen@redhat.com>


(Sorry about committing with the wrong git-author!)

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


More information about the Elfutils-devel mailing list