Re: [Qemu-devel] [PATCH v3] linux-user: fix mmap_find_vma_reserved()

2018-07-14 Thread Richard Henderson
On 07/14/2018 02:35 PM, Laurent Vivier wrote: > The value given by mmap_find_vma_reserved() is used with mmap(), > so it is needed to be aligned with the host page size. > > Since commit 18e80c55bb, reserved_va is only aligned to TARGET_PAGE_SIZE, > and it works well if this size is greater or equ

[Qemu-devel] [PATCH v3] linux-user: fix mmap_find_vma_reserved()

2018-07-14 Thread Laurent Vivier
The value given by mmap_find_vma_reserved() is used with mmap(), so it is needed to be aligned with the host page size. Since commit 18e80c55bb, reserved_va is only aligned to TARGET_PAGE_SIZE, and it works well if this size is greater or equal to the host page size. But ppc64 hosts have 64kB pag