[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 23/33] linux-user: Split out mmap_h_gt_g
From: |
Ilya Leoshkevich |
Subject: |
Re: [PATCH v3 23/33] linux-user: Split out mmap_h_gt_g |
Date: |
Tue, 30 Jan 2024 11:45:20 +0100 |
On Tue, Jan 02, 2024 at 12:57:58PM +1100, Richard Henderson wrote:
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> linux-user/mmap.c | 288 ++++++++++++++++++++++------------------------
> 1 file changed, 139 insertions(+), 149 deletions(-)
>
> diff --git a/linux-user/mmap.c b/linux-user/mmap.c
> index 8b0a26e50d..552656edd4 100644
> --- a/linux-user/mmap.c
> +++ b/linux-user/mmap.c
[...]
> + if (last < real_last) {
> + abi_ulong real_page_start = real_last - host_page_size + 1;
> + if (!mmap_frag(real_page_start, real_page_start, last,
> + target_prot, flags, fd,
> + offset + real_page_start - start)) {
Should we unmap start here and in a few places below?
[...]
- Re: [PATCH v3 24/33] tests/tcg: Remove run-test-mmap-*, (continued)
- [PATCH v3 20/33] linux-user: Do early mmap placement only for reserved_va, Richard Henderson, 2024/01/01
- [PATCH v3 22/33] linux-user: Split out mmap_h_lt_g, Richard Henderson, 2024/01/01
- [PATCH v3 23/33] linux-user: Split out mmap_h_gt_g, Richard Henderson, 2024/01/01
- [PATCH v3 26/33] *-user: Deprecate and disable -p pagesize, Richard Henderson, 2024/01/01
- [PATCH v3 27/33] cpu: Remove page_size_init, Richard Henderson, 2024/01/01
- [PATCH v3 25/33] tests/tcg: Extend file in linux-madvise.c, Richard Henderson, 2024/01/01
- [PATCH v3 28/33] accel/tcg: Disconnect TargetPageDataNode from page size, Richard Henderson, 2024/01/01
- [PATCH v3 29/33] linux-user: Allow TARGET_PAGE_BITS_VARY, Richard Henderson, 2024/01/01