From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3799D3858C83; Fri, 21 Apr 2023 09:05:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3799D3858C83 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1682067930; bh=ecPUoUk5qVug4vGDtiQLJaGHcL/koGYvxoDhekJYcTE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=dwN8SGjpsSwWqJw2ir196cmeAwyeQSwGrWvGMECY+KiEECpnbd9Z1l4OmGkejdu99 QSbXkqcb7TxuY9b8D6OHiaUFyBA1f8UqTUBayIMruo18C0VCHuda5KWXLDSRlhj1PM kZQLd8W7Bm7K9qz2KRYyU+O6oIZYvBZUqkM+SqU8= From: "danglin at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug malloc/30303] FAIL: malloc/tst-memalign-2-mcheck Date: Fri, 21 Apr 2023 09:05:29 +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: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: danglin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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=3D30303 John David Anglin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dj at redhat dot com --- Comment #2 from John David Anglin --- Introduced by following commit: dave@mx3210:~/gnu/glibc/glibc$ git bisect good 24cdd6c71debfd10a9f7cb217fe2a2c4c486ed6f is the first bad commit commit 24cdd6c71debfd10a9f7cb217fe2a2c4c486ed6f Author: DJ Delorie Date: Wed Mar 29 00:18:40 2023 -0400 memalign: Support scanning for aligned chunks. This patch adds a chunk scanning algorithm to the _int_memalign code path that reduces heap fragmentation by reusing already aligned chunks instead of always looking for chunks of larger sizes and splitting them. The tcache macros are extended to allow removing a chunk from the middle of the list. The goal is to fix the pathological use cases where heaps grow continuously in workloads that are heavy users of memalign. Note that tst-memalign-2 checks for tcache operation, which malloc-check bypasses. Reviewed-by: Adhemerval Zanella malloc/Makefile | 3 +- malloc/malloc.c | 260 +++++++++++++++++++++++++++++++++++++++++++-= ---- malloc/tst-memalign-2.c | 155 +++++++++++++++++++++++++++++ 3 files changed, 390 insertions(+), 28 deletions(-) create mode 100644 malloc/tst-memalign-2.c --=20 You are receiving this mail because: You are on the CC list for the bug.=