qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] linux-user: shmat/shmdt improvements
@ 2023-08-20 20:44 Richard Henderson
  2023-08-20 20:44 ` [PATCH 1/4] linux-user: Move shmat and shmdt implementations to mmap.c Richard Henderson
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Richard Henderson @ 2023-08-20 20:44 UTC (permalink / raw)
  To: qemu-devel; +Cc: laurent, imp, kariem.taha2.7

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-08-22 16:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-20 20:44 [PATCH 0/4] linux-user: shmat/shmdt improvements Richard Henderson
2023-08-20 20:44 ` [PATCH 1/4] linux-user: Move shmat and shmdt implementations to mmap.c Richard Henderson
2023-08-21  6:25   ` Philippe Mathieu-Daudé
2023-08-22 16:55   ` Warner Losh
2023-08-20 20:44 ` [PATCH 2/4] linux-user: Use WITH_MMAP_LOCK_GUARD in target_{shmat, shmdt} Richard Henderson
2023-08-20 20:44 ` [PATCH 3/4] linux-user: Fix shmdt Richard Henderson
2023-08-20 20:44 ` [PATCH 4/4] linux-user: Track shm regions with an interval tree Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).