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 + region.total_size;

So why isn't this end = start_aligned + (n * stride)? do we not line up
for the last region?

Correct. There's some commentary to that effect in tcg_region_init, but I guess it could stand to be copied here.


r~

Reply via email to