qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v5 22/23] bsd-user: Implement shmat(2) and shmdt(2)


From: Richard Henderson
Subject: Re: [PATCH v5 22/23] bsd-user: Implement shmat(2) and shmdt(2)
Date: Fri, 15 Sep 2023 05:38:28 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1

On 9/14/23 13:41, Karim Taha wrote:
From: Stacey Son<sson@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<sson@FreeBSD.org>
Signed-off-by: Karim Taha<kariem.taha2.7@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.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]