qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 5/9] accel/tcg: Pass last not end to page_reset_target_data


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 5/9] accel/tcg: Pass last not end to page_reset_target_data
Date: Mon, 6 Mar 2023 08:50:38 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.8.0

On 6/3/23 03:13, Richard Henderson wrote:
Pass the address of the last byte to be changed, rather than
the first address past the last byte.  This avoids overflow
when the last page of the address space is involved.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
  include/exec/cpu-all.h |  2 +-
  accel/tcg/user-exec.c  | 11 +++++------
  linux-user/mmap.c      |  2 +-
  3 files changed, 7 insertions(+), 8 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




reply via email to

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