This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] malloc: Fix missing accounting of top chunk in malloc_info [BZ #24026]
- From: DJ Delorie <dj at redhat dot com>
- To: "Carlos O'Donell" <carlos at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Fri, 02 Aug 2019 15:03:09 -0400
- Subject: Re: [PATCH] malloc: Fix missing accounting of top chunk in malloc_info [BZ #24026]
"Carlos O'Donell" <carlos@redhat.com> writes:
> I agree with you that this looks correct, but I would really have
> expected the top chunk to be in one of the counted bins if it was
> actually free. However, it turns out I'm wrong.
This is hinted at in the wiki, where the top chunk is always referred to
separately. If you read the wiki and didn't get this impression, tell
me what part you read and how we can make it more obvious...