Re: [Qemu-devel] [PATCH] linux-user: Allocate extra space for brk in PIE executable

2018-03-16 Thread Richard Henderson
On 03/16/2018 07:01 PM, Peter Maydell wrote: > PS: do you know what the intention of the > if (reserved_va) { > mmap_next_start = reserved_va; > } > code in linux-user/main.c is? It seems a bit odd to say "ok, > we have reserved a big region. we will start trying to

Re: [Qemu-devel] [PATCH] linux-user: Allocate extra space for brk in PIE executable

2018-03-16 Thread Peter Maydell
On 16 March 2018 at 10:34, Richard Henderson wrote: > Limit this to 16M; there does not appear to be any special > support for this in the kernel itself, at least for i686. > > Fixes: https://bugs.launchpad.net/bugs/1749393 > Signed-off-by: Richard Henderson

[Qemu-devel] [PATCH] linux-user: Allocate extra space for brk in PIE executable

2018-03-16 Thread Richard Henderson
Limit this to 16M; there does not appear to be any special support for this in the kernel itself, at least for i686. Fixes: https://bugs.launchpad.net/bugs/1749393 Signed-off-by: Richard Henderson --- Commentary in the launchpad bug suggests 128M gap for x86_64,