From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6023B3858D35; Tue, 19 Mar 2024 11:06:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6023B3858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1710846381; bh=u838BhOcS8mhSUQttQ7WISQgZ0cFom7ZLcxiS/nL+XI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=qupO3odqGFJb0tP+0D3TMWYFKEq4qDHFVaPMSyvkTNLwjiHbpxwi2BiyWMxSdxqlI riwjx3VZ+gztRXrbH4ky7ClRE60i7A5HJzpRIU4ZYwYshIIcWW0kjzOF02252a/h5/ A5NAKznycoQYnBjcSC4bEmv0ooE2Gbr9hkvqFLM8= From: "fche at redhat dot com" To: elfutils-devel@sourceware.org Subject: [Bug debuginfod/31103] periodically malloc_trim() Date: Tue, 19 Mar 2024 11:06:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: debuginfod X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fche at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dichen at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31103 Frank Ch. Eigler changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #11 from Frank Ch. Eigler --- 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 (Sorry about committing with the wrong git-author!) --=20 You are receiving this mail because: You are on the CC list for the bug.=