On 9/14/23 13:41, Karim Taha wrote:
From: Stacey Son<s...@freebsd.org>

Use `WITH_MMAP_LOCK_GUARD` instead of mmap_lock() and mmap_unlock(),
to match linux-user implementation, according to the following commits:

69fa2708a216df715ba5102a0f98468b540a464e linux-user: Use WITH_MMAP_LOCK_GUARD 
in target_{shmat,shmdt}
ceda5688b650646248f269a992c06b11148c5759 linux-user: Fix shmdt

Signed-off-by: Stacey Son<s...@freebsd.org>
Signed-off-by: Karim Taha<kariem.taha...@gmail.com>
---
  bsd-user/bsd-mem.h            | 87 +++++++++++++++++++++++++++++++++++
  bsd-user/freebsd/os-syscall.c |  8 ++++
  bsd-user/mmap.c               |  2 +-
  bsd-user/qemu.h               |  1 +
  4 files changed, 97 insertions(+), 1 deletion(-)

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

r~

Reply via email to