On 11/06/2017 07:47 AM, Nicholas Piggin wrote:
"You get < 128TB unless explicitly requested."Simple, reasonable, obvious rule. Avoids breaking apps that store some bits in the top of pointers (provided that memory allocator userspace libraries also do the right thing).
So brk would simplify fail instead of crossing the 128 TiB threshold?glibc malloc should cope with that and switch to malloc, but this code path is obviously less well-tested than the regular way.
Thanks, Florian