Re: [PATCH v4 22/36] linux-user: Use do_munmap for target_mmap failure

2024-02-14 Thread Philippe Mathieu-Daudé
On 15/2/24 07:20, Richard Henderson wrote: For the cases for which the host mmap succeeds, but does not yield the desired address, use do_munmap to restore the reserved_va memory reservation. Signed-off-by: Richard Henderson --- linux-user/mmap.c | 6 +++--- 1 file changed, 3 insertions(+),

[PATCH v4 22/36] linux-user: Use do_munmap for target_mmap failure

2024-02-14 Thread Richard Henderson
For the cases for which the host mmap succeeds, but does not yield the desired address, use do_munmap to restore the reserved_va memory reservation. Signed-off-by: Richard Henderson --- linux-user/mmap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/linux-user/mmap.c