Impact of Increasing M_MMAP_THRESHOLD to 1GB in malloc().

ritesh sonawane rdssonawane2317@gmail.com
Fri Sep 28 11:07:00 GMT 2018


Thanks a lot.

On Fri, 28 Sep 2018 at 4:10 PM, Florian Weimer <fw@deneb.enyo.de> wrote:

> * ritesh sonawane:
>
> > Apart from changing threshold value do I need to take care of bin index ?
> > I have tried to understand the binning of malloc(), and found that its
> not
> > necessary.
>
> The binning is for small allocations only.  No changes will be needed
> for correctness.  There are scalability issues if you have many
> allocations of sizes that are not tracked in bins, but that is a
> preexisting problem in the allocator, unrelated to changing the mmap
> threshold or the heap size.
>



More information about the Libc-help mailing list