Re: [PATCH 6/9] accel/tcg: Pass last not end to PAGE_FOR_EACH_TB

2023-03-05 Thread Philippe Mathieu-Daudé
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 --- accel/tcg/tb-maint.c | 28 ++

[PATCH 6/9] accel/tcg: Pass last not end to PAGE_FOR_EACH_TB

2023-03-05 Thread Richard Henderson
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 --- accel/tcg/tb-maint.c | 28 1 file changed, 16 insertions