qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: Richard Henderson <richard.henderson@linaro.org>, qemu-devel@nongnu.org
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	[thread overview]
Message-ID: <36cbefc5-4443-d2aa-2fd8-b7dedeefc53f@linaro.org> (raw)
In-Reply-To: <20230306021307.1879483-6-richard.henderson@linaro.org>

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	other threads:[~2023-03-06  7:51 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-06  2:12 [PATCH 0/9] accel/tcg: Fix page_set_flags and related [#1528] Richard Henderson
2023-03-06  2:12 ` [PATCH 1/9] linux-user: Diagnose incorrect -R size Richard Henderson
2023-03-06 12:56   ` Peter Maydell
2023-03-06 21:24     ` Richard Henderson
2023-03-07 10:12       ` Peter Maydell
2023-03-07 10:17         ` Peter Maydell
2023-03-17 14:46           ` Richard Henderson
2023-03-17 14:57             ` Peter Maydell
2023-03-17 15:05               ` Peter Maydell
2023-03-06  2:13 ` [PATCH 2/9] linux-user: Rename max_reserved_va in main Richard Henderson
2023-03-06  7:33   ` Philippe Mathieu-Daudé
2023-03-06  2:13 ` [PATCH 3/9] include/exec: Replace reserved_va with max_reserved_va Richard Henderson
2023-03-06  2:13 ` [PATCH 4/9] accel/tcg: Pass last not end to page_set_flags Richard Henderson
2023-03-06  7:49   ` Philippe Mathieu-Daudé
2023-03-06  2:13 ` [PATCH 5/9] accel/tcg: Pass last not end to page_reset_target_data Richard Henderson
2023-03-06  7:50   ` Philippe Mathieu-Daudé [this message]
2023-03-06  2:13 ` [PATCH 6/9] accel/tcg: Pass last not end to PAGE_FOR_EACH_TB Richard Henderson
2023-03-06  7:52   ` Philippe Mathieu-Daudé
2023-03-06  2:13 ` [PATCH 7/9] accel/tcg: Pass last not end to page_collection_lock Richard Henderson
2023-03-06  7:53   ` Philippe Mathieu-Daudé
2023-03-06  2:13 ` [PATCH 8/9] accel/tcg: Pass last not end to tb_invalidate_phys_page_range__locked Richard Henderson
2023-03-06  2:13 ` [PATCH 9/9] accel/tcg: Pass last not end to tb_invalidate_phys_range Richard Henderson
2023-03-06  7:58   ` Philippe Mathieu-Daudé
2023-03-07  3:19 ` [PATCH 0/9] accel/tcg: Fix page_set_flags and related [#1528] Joel Stanley
2023-03-07 13:55   ` Ninad Palsule

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=36cbefc5-4443-d2aa-2fd8-b7dedeefc53f@linaro.org \
    --to=philmd@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).