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

Philippe Mathieu-Daudé
2025-01-23T23:45:56Z

On 24/1/25 00: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>

I forgot to include:
Reviewed-by: Warner Losh <imp@bsdimp.com>

> ---
> 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