[dm-devel] [PATCH v4 0/5] bitmap: Introduce alloc/free helpers

Dmitry Torokhov dmitry.torokhov at gmail.com
Thu Aug 2 01:03:25 UTC 2018


On Tue, Jul 24, 2018 at 02:35:53PM +0300, Andy Shevchenko wrote:
> On Thu, 2018-07-05 at 00:30 +0300, Andy Shevchenko wrote:
> > On Sat, Jun 30, 2018 at 11:17 PM, Andy Shevchenko
> > <andriy.shevchenko at linux.intel.com> wrote:
> > > A lot of code is using allocation of bitmaps using BITS_PER_LONG()
> > > macro and
> > > sizeof(unsigned long) operator. The readability suffers because of
> > > this.
> > > 
> > > The series introduces three helpers, i.e. bitmap_alloc(),
> > > bitmap_zalloc() and
> > > bitmap_free(), to make it more cleaner.
> > > 
> > 
> > Dmitry, it seems we are all set now and if you have no objections
> > against this version, it would be nice to see it in your tree followed
> > by upstream.
> 
> Gentle ping!

I put the first 3 patches into an immutable branch off 4.17:

git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git ib/4.17-bitmap

and queued it and the other 2 patches for the next merge window.

Thanks.

-- 
Dmitry




More information about the dm-devel mailing list