Re: [PATCH 02/20] user: Extract common MMAP API to 'user/mmap.h'

Richard Henderson
2025-01-26T19:55:39Z

On 1/23/25 15:43, Philippe Mathieu-Daudé wrote:
> Keep common MMAP-related declarations in a single place.
>
> Note, this disable ThreadSafetyAnalysis on Linux for:
> - mmap_fork_start()
> - mmap_fork_end().
>
> Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org>
> ---
> bsd-user/qemu.h | 12 +-----------
> include/user/mmap.h | 32 ++++++++++++++++++++++++++++++++
> linux-user/user-mmap.h | 19 ++-----------------
> 3 files changed, 35 insertions(+), 28 deletions(-)
> create mode 100644 include/user/mmap.h

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~