From: Richard Henderson
> A size is easier to work with than an end point, particularly during initial
> buffer
> allocation.
>
> Signed-off-by: Richard Henderson
> ---
> tcg/region.c | 29 +
> 1 file changed, 17 insertions(+), 12 deletions(-)
Reviewed-by: Luis
On 6/8/21 9:03 AM, Alex Bennée wrote:
@@ -279,7 +279,7 @@ static void tcg_region_bounds(size_t curr_region, void
**pstart, void **pend)
start = region.start;
}
if (curr_region == region.n - 1) {
-end = region.end;
+end = region.start_aligned +
Richard Henderson writes:
> A size is easier to work with than an end point,
> particularly during initial buffer allocation.
>
> Signed-off-by: Richard Henderson
> ---
> tcg/region.c | 29 +
> 1 file changed, 17 insertions(+), 12 deletions(-)
>
> diff --git
A size is easier to work with than an end point,
particularly during initial buffer allocation.
Signed-off-by: Richard Henderson
---
tcg/region.c | 29 +
1 file changed, 17 insertions(+), 12 deletions(-)
diff --git a/tcg/region.c b/tcg/region.c
index