Re: [Qemu-devel] [PATCH v15 1/5] lib/xbitmap: Introduce xbitmap

2017-09-12 Thread Wei Wang
On 09/11/2017 08:54 PM, Matthew Wilcox wrote: On Mon, Aug 28, 2017 at 06:08:29PM +0800, Wei Wang wrote: From: Matthew Wilcox The eXtensible Bitmap is a sparse bitmap representation which is efficient for set bits which tend to cluster. It supports up to 'unsigned

Re: [Qemu-devel] [PATCH v15 1/5] lib/xbitmap: Introduce xbitmap

2017-09-11 Thread Matthew Wilcox
On Mon, Aug 28, 2017 at 06:08:29PM +0800, Wei Wang wrote: > From: Matthew Wilcox > > The eXtensible Bitmap is a sparse bitmap representation which is > efficient for set bits which tend to cluster. It supports up to > 'unsigned long' worth of bits, and this commit adds

[Qemu-devel] [PATCH v15 1/5] lib/xbitmap: Introduce xbitmap

2017-08-28 Thread Wei Wang
From: Matthew Wilcox The eXtensible Bitmap is a sparse bitmap representation which is efficient for set bits which tend to cluster. It supports up to 'unsigned long' worth of bits, and this commit adds the bare bones -- xb_set_bit(), xb_clear_bit() and xb_test_bit().