[PATCH 1/2] Add note on MALLOC_MMAP_* environment variables

Siddhesh Poyarekar siddhesh@sourceware.org
Mon Oct 17 16:16:00 GMT 2016


On Monday 17 October 2016 09:43 PM, Carlos O'Donell wrote:
> On 10/10/2016 01:26 PM, Siddhesh Poyarekar wrote:
>> The mallopt parameters manual does not mention the environment
>> variables that can be used to set these parameters at program startup.
>> Mention those environment variables for completeness.
> 
> Please don't get upset with me :-)

Grrr...

> I'm asking you to document the default for these env var tunables.
> 
> I think it's valid for users to want to know what value they would have
> had if they _didn't_ set the environment variable.
> 
> Throwing our hands up in the air and saying "it's implementation defined"
> isn't very useful IMO.

No I agree that is a good point.  I'll work on it based on your comments
on the MALLOC_ARENA_* doc patch, i.e. first describe the GNU allocator
and then use that information to explain the envvars/mallopt params and
also add in defaults.

Siddhesh



More information about the Libc-alpha mailing list