Re: [PATCH 2/2] x86/mmap: handle worst-case heap randomization in mmap_base
From: Dave Hansen
Date: Wed Mar 13 2019 - 12:25:41 EST
On 3/12/19 10:32 AM, Ali Saidi wrote:
> + /* Provide space for brk randomization */
> + pad += SZ_32M;
Just curious: Why is the padding in your other patch conditional on the
32-bit vs. 64-bit apps, but here it's always 32M?
Also, did you hit this problem in practice somehow?