From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 85667 invoked by alias); 17 Oct 2016 16:16:54 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 84622 invoked by uid 89); 17 Oct 2016 16:16:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_NEUTRAL autolearn=no version=3.3.2 spammy=our, air, hands X-HELO: homiemail-a43.g.dreamhost.com Reply-To: siddhesh@sourceware.org Subject: Re: [PATCH 1/2] Add note on MALLOC_MMAP_* environment variables References: <1476120388-26662-1-git-send-email-siddhesh@sourceware.org> <013af3b4-a6db-dd01-9adf-028ba53daf00@redhat.com> To: Carlos O'Donell , libc-alpha@sourceware.org From: Siddhesh Poyarekar Message-ID: <02f5d891-c00c-a376-82e4-168bbb9bbcc7@sourceware.org> Date: Mon, 17 Oct 2016 16:16:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <013af3b4-a6db-dd01-9adf-028ba53daf00@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SW-Source: 2016-10/txt/msg00271.txt.bz2 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