This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Call the right helper function when setting mallopt M_ARENA_MAX
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: "Wladimir J. van der Laan" <laanwj at gmail dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 30 Mar 2017 22:12:09 +0200
- Subject: Re: [PATCH] Call the right helper function when setting mallopt M_ARENA_MAX
- Authentication-results: sourceware.org; auth=none
- References: <20170330184112.GA19395@amethyst.visucore.com>
* Wladimir J. van der Laan:
> Fixes a typo introduced in commit
> be7991c0705e35b4d70a419d117addcd6c627319. This caused
> mallopt(M_ARENA_MAX) as well as the environment variable
> MALLOC_ARENA_MAX to not work as intended because it set the
> wrong internal parameter.
>
> * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
> instead of incorrect do_set_arena_test
Patch looks good, but I think this warrants a bug report and reference
to it in the ChangeLog.