Re: [PATCH 17/33] linux-user: Move some mmap checks outside the lock

2023-08-20 Thread Philippe Mathieu-Daudé
On 18/8/23 19:12, Richard Henderson wrote: Basic validation of operands does not require the lock. Hoist them from target_mmap__locked back into target_mmap. Signed-off-by: Richard Henderson --- linux-user/mmap.c | 107 +++--- 1 file changed, 53 insert

[PATCH 17/33] linux-user: Move some mmap checks outside the lock

2023-08-18 Thread Richard Henderson
Basic validation of operands does not require the lock. Hoist them from target_mmap__locked back into target_mmap. Signed-off-by: Richard Henderson --- linux-user/mmap.c | 107 +++--- 1 file changed, 53 insertions(+), 54 deletions(-) diff --git a/linux-us