This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] malloc: Perform full initialization before __malloc_check_init
- From: Florian Weimer <fweimer at redhat dot com>
- To: libc-alpha at sourceware dot org
- Date: Wed, 20 Sep 2017 14:43:13 +0200
- Subject: Re: [PATCH] malloc: Perform full initialization before __malloc_check_init
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=fweimer at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com B4FD2C057FAF
- References: <20170920122718.0CE36404D127B@oldenburg.str.redhat.com>
On 09/20/2017 02:27 PM, Florian Weimer wrote:
Previously, initialization was implicitly performed by mallopt,
but commit ac3ed168d0c0b2b702319ac0db72c9b475a8c72e (malloc:
Remove check_action variable) removed the mallopt call.
2017-09-20 Florian Weimer<fweimer@redhat.com>
* malloc/arena.c [!HAVE_TUNABLES] (ptmalloc_init): Call
malloc_consolidate before __malloc_check_init.
I forgot the bug reference:
https://sourceware.org/bugzilla/show_bug.cgi?id=22159
Fixed locally.
Thanks,
Florian