qemu-devel
[Top][All Lists]
Advanced

[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?

[...]



reply via email to

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