POWER: Unexpected fault when writing to brk-allocated memory
Florian Weimer
fweimer at redhat.com
Mon Nov 6 19:11:37 AEDT 2017
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
More information about the Linuxppc-dev
mailing list