From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Torokhov Subject: Re: [PATCH v4 0/5] bitmap: Introduce alloc/free helpers Date: Wed, 1 Aug 2018 18:03:25 -0700 Message-ID: <20180802010325.GB184797@dtor-ws> References: <20180630201750.2588-1-andriy.shevchenko@linux.intel.com> <2310fa540b9e5db3b94f4917ecae76dce2a2ca65.camel@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <2310fa540b9e5db3b94f4917ecae76dce2a2ca65.camel@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org To: Andy Shevchenko Cc: Andy Shevchenko , Alasdair Kergon , Mike Snitzer , device-mapper development , Shaohua Li , linux-raid@vger.kernel.org, linux-input , Andrew Morton , Yury Norov , Linux Kernel Mailing List , Mika Westerberg , Joe Perches List-Id: linux-raid.ids 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 > > 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