Re: [Qemu-devel] [PATCH v5 06/21] hbitmap: cache array lengths

2015-04-17 Thread Eric Blake
On 04/08/2015 04:19 PM, John Snow wrote: > As a convenience: between incremental backups, bitmap migrations > and bitmap persistence we seem to need to recalculate these a lot. > > Because the lengths are a little bit-twiddly, let's just solidly > cache them and be done with it. > > Reviewed-by:

[Qemu-devel] [PATCH v5 06/21] hbitmap: cache array lengths

2015-04-08 Thread John Snow
As a convenience: between incremental backups, bitmap migrations and bitmap persistence we seem to need to recalculate these a lot. Because the lengths are a little bit-twiddly, let's just solidly cache them and be done with it. Reviewed-by: Max Reitz Signed-off-by: John Snow --- util/hbitmap.