RE: [PATCH v3 16/28] tcg: Replace region.end with region.total_size

2021-06-09 Thread Luis Fernando Fujita Pires
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

Re: [PATCH v3 16/28] tcg: Replace region.end with region.total_size

2021-06-08 Thread Richard Henderson
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 +

Re: [PATCH v3 16/28] tcg: Replace region.end with region.total_size

2021-06-08 Thread Alex Bennée
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

[PATCH v3 16/28] tcg: Replace region.end with region.total_size

2021-05-02 Thread 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(-) diff --git a/tcg/region.c b/tcg/region.c index