Re: [PATCH v1 4/4] bitmap: Make bitmap_fill() and bitmap_zero() consistent

2018-01-11 Thread Andy Shevchenko
On Thu, 2018-01-11 at 14:57 +0300, Yury Norov wrote: > On Wed, Jan 10, 2018 at 03:17:03PM +0200, Andy Shevchenko wrote: > > On Wed, 2018-01-10 at 11:49 +0300, Yury Norov wrote: > > > On Tue, Jan 09, 2018 at 07:24:30PM +0200, Andy Shevchenko wrote: > > > > The change might reveal some bugs in the c

Re: [PATCH v1 4/4] bitmap: Make bitmap_fill() and bitmap_zero() consistent

2018-01-11 Thread Yury Norov
On Wed, Jan 10, 2018 at 03:17:03PM +0200, Andy Shevchenko wrote: > On Wed, 2018-01-10 at 11:49 +0300, Yury Norov wrote: > > On Tue, Jan 09, 2018 at 07:24:30PM +0200, Andy Shevchenko wrote: > > > Behaviour of bitmap_fill() differs from bitmap_zero() in a way > > > how bits behind bitmap are handed.

Re: [PATCH v1 4/4] bitmap: Make bitmap_fill() and bitmap_zero() consistent

2018-01-10 Thread Andy Shevchenko
On Wed, 2018-01-10 at 11:49 +0300, Yury Norov wrote: > On Tue, Jan 09, 2018 at 07:24:30PM +0200, Andy Shevchenko wrote: > > Behaviour of bitmap_fill() differs from bitmap_zero() in a way > > how bits behind bitmap are handed. bitmap_zero() clears entire > > bitmap > > by unsigned long boundary, whi

Re: [PATCH v1 4/4] bitmap: Make bitmap_fill() and bitmap_zero() consistent

2018-01-10 Thread Yury Norov
On Tue, Jan 09, 2018 at 07:24:30PM +0200, Andy Shevchenko wrote: > Behaviour of bitmap_fill() differs from bitmap_zero() in a way > how bits behind bitmap are handed. bitmap_zero() clears entire bitmap > by unsigned long boundary, while bitmap_fill() mimics bitmap_set(). > > Here we change bitmap_