Fixes for unfixed mmap beyond reserved_va
Get series with b4
b4 am [email protected] change-id 20260227-abyss-mmap-relocation-ccba2ab8902bVersions newest first
- v1 Latest4 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | linux-user: Deal with mmap where start > reserved_valinux-user/ | +6 | 1 reply | |
| 2/4 | bsd-user: Deal with mmap where start > reserved_vabsd-user/ | +5 | 4 replies | |
| 3/4 | tests/tcg/multiarch/test-mmap: Print more detailstests/ | +9 | 0 replies | |
| 4/4 | tests/tcg/multiarch/test-mmap: Check mmaps beyond reserved_vatests/ | +15 | 0 replies |
Reviews trailers per patch
2 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Warner Losh | Helge Deller |
|---|---|---|
| 1/4 | R-b | |
| 2/4 | R-b | R-b |
| 3/4 | ||
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] Fixes for unfixed mmap beyond reserved_va
For reserved_va & ~MAP_FIXED mmap, linux-user and bsd-user translates it into a fixed mmap within [mmap_min_addr, reserved_va]. However, the previous implementation didn't care about where the address hint provided by user is greater than reserved_va and will run into an assertion failure.
This series fixed it for linux-user and bsd-user and added test coverage. For start > reserved_va, skip [start, reserved_va] and just search within [min_addr, reserved_va].
I actually thought that I am adding too many CC's and causing unnecessary noise but b4 is asking me to run auto-to-cc (:
---
Bingwu Zhang (4):
linux-user: Deal with mmap where start > reserved_va
bsd-user: Deal with mmap where start > reserved_va tests/tcg/multiarch/test-mmap: Print more details tests/tcg/multiarch/test-mmap: Check mmaps beyond reserved_va
bsd-user/mmap.c | 8 +++++--- linux-user/mmap.c | 9 ++++++--- tests/tcg/multiarch/test-mmap.c | 27 ++++++++++++++++++++++++--- 3 files changed, 35 insertions(+), 9 deletions(-)
---
base-commit: d8a9d97317d03190b34498741f98f22e2a9afe3e
change-id: 20260227-abyss-mmap-relocation-ccba2ab8902b
Best regards,
Signature · 1 line
Bingwu Zhang <[email protected]>