[PATCH 0/4] linux-user: shmat/shmdt improvements

Richard Henderson posted 4 patches 9 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230820204408.327348-1-richard.henderson@linaro.org
Maintainers: Laurent Vivier <laurent@vivier.eu>
linux-user/user-mmap.h |   4 +
linux-user/mmap.c      | 168 +++++++++++++++++++++++++++++++++++++++++
linux-user/syscall.c   | 143 +----------------------------------
3 files changed, 176 insertions(+), 139 deletions(-)
[PATCH 0/4] linux-user: shmat/shmdt improvements
Posted by Richard Henderson 9 months ago
A couple of points I noticed with bsd-user copying linux-user:

(1) Make sure to remap memory for reserved_va
(2) Use something better than an array for tracking shmat.


r~


Richard Henderson (4):
  linux-user: Move shmat and shmdt implementations to mmap.c
  linux-user: Use WITH_MMAP_LOCK_GUARD in target_{shmat,shmdt}
  linux-user: Fix shmdt
  linux-user: Track shm regions with an interval tree

 linux-user/user-mmap.h |   4 +
 linux-user/mmap.c      | 168 +++++++++++++++++++++++++++++++++++++++++
 linux-user/syscall.c   | 143 +----------------------------------
 3 files changed, 176 insertions(+), 139 deletions(-)

-- 
2.34.1