This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 1/2] Add note on MALLOC_MMAP_* environment variables
- From: Siddhesh Poyarekar <siddhesh at sourceware dot org>
- To: Rical Jasan <ricaljasan at pacific dot net>, Carlos O'Donell <carlos at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Wed, 26 Oct 2016 17:00:24 +0530
- Subject: Re: [PATCH 1/2] Add note on MALLOC_MMAP_* environment variables
- Authentication-results: sourceware.org; auth=none
- References: <57acdb4a-ef0b-0bd8-bc8d-6bb8bbc3aaab@redhat.com> <3e2a1ff2-3d9b-2559-a576-58e432388ba1@pacific.net>
- Reply-to: siddhesh at sourceware dot org
On Wednesday 26 October 2016 04:56 PM, Rical Jasan wrote:
> On 10/25/2016 09:15 PM, Carlos O'Donell wrote:
>>>> +If this parameter is not set, the default value is set as 128 KB and the
>> Should this be 128KiB?
>
> I don't think binary computers count with 10 fingers. At any rate, we
> don't have any ibi's AFAICS:
>
> $ grep -Pi '\d[kmgt]i?b\b' manual/*.texi
It's the other way around AFAIK, i.e. KiB == 1024 and KB == 1000. Looks
like there are references to kB in code comments, so I'm fine with
changing it to that, or if you want to be absolutely clear, I could just
make it 131072 bytes ;)
Siddhesh