From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C60F6385801A; Wed, 10 Aug 2022 04:00:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C60F6385801A From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug malloc/14581] memalign allocations are often not reused after free Date: Wed, 10 Aug 2022 04:00:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: malloc X-Bugzilla-Version: 2.15 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: carlos at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: 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 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2022 04:00:28 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D14581 --- Comment #19 from Carlos O'Donell --- (In reply to mirh from comment #18) > The Fedora patch was backed out hours after the last comment here, but > there's now new steam behind it.=20 > https://patchwork.sourceware.org/project/glibc/patch/xn4jz19fts.fsf@greed. > delorie.com/ Yes, the original Fedora patch was incomplete. I reverted it and set it asi= de as we worked on other things. We're coming back to this work again to impro= ve the reuse of aligned allocations. Just a note that Ruby, which was a driving use case for fixing the aligned allocation reuse, has entirely switched to mmap to allocate aligned pages t= hat it needs for internal uses. While we still want to fix this issue, it's really bad external fragmentati= on, but Ruby is no longer a specific problem. If you get a chance, please feel free to try out DJ's latest patch and comm= ent. --=20 You are receiving this mail because: You are on the CC list for the bug.=