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

2024-01-29 Thread Ilya Leoshkevich
On Tue, Jan 02, 2024 at 12:57:52PM +1100, Richard Henderson wrote: > Basic validation of operands does not require the lock. > Hoist them from target_mmap__locked back into target_mmap. > > Reviewed-by: Philippe Mathieu-Daudé > Signed-off-by: Richard Henderson > --- > linux-user/mmap.c | 107 ++

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

2024-01-01 Thread Richard Henderson
Basic validation of operands does not require the lock. Hoist them from target_mmap__locked back into target_mmap. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- linux-user/mmap.c | 107 +++--- 1 file changed, 53 insertions(+), 5