qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 05/10] linux-user: init_guest_space: Clarify pag


From: Laurent Vivier
Subject: Re: [Qemu-devel] [PATCH 05/10] linux-user: init_guest_space: Clarify page alignment logic
Date: Fri, 9 Mar 2018 21:28:54 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

Le 28/12/2017 à 19:08, Luke Shumaker a écrit :
> From: Luke Shumaker <address@hidden>
> 
> There are 3 parts to this change:
>  - Add a comment showing the relative sizes and positions of the blocks of
>    memory
>  - introduce and use new aligned_{start,size} instead of adjusting
>    real_{start_size}
>  - When we clean up (on failure), munmap(real_start, real_size) instead of
>    munmap(aligned_start, aligned_size).  It *shouldn't* make any
>    difference, but I will admit that this does mean we are making the
>    syscall with different values, so this isn't quite a no-op patch.
> 
> Signed-off-by: Luke Shumaker <address@hidden>
> ---
>  linux-user/elfload.c | 43 +++++++++++++++++++++++++++++++++----------
>  1 file changed, 33 insertions(+), 10 deletions(-)
> 

Applied to my 'linux-user-for-2.12' branch.

Thanks,
Laurent




reply via email to

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