Re: [Qemu-devel] [PATCH] linux-user: Remove extra mapping

2018-05-24 Thread Laurent Vivier
Le 16/05/2018 à 16:47, Steve Mcpolin a écrit : > When a guest mmap()'d a file, a transient MAP_ANONYMOUS mapping was > created, which required the kernel to reserve this memory, then > subsequently released by applying a mapping with just the requested > flags and fd. > This transient mapping cause

[Qemu-devel] [PATCH] linux-user: Remove extra mapping

2018-05-16 Thread Steve Mcpolin
When a guest mmap()'d a file, a transient MAP_ANONYMOUS mapping was created, which required the kernel to reserve this memory, then subsequently released by applying a mapping with just the requested flags and fd. This transient mapping causes spurious failures when the available memory is smaller