lkml.org 
[lkml]   [2022]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/6] bitmap: remove _reg_op()
Any comments guys?

On Thu, Oct 27, 2022 at 06:48:28PM -0700, Yury Norov wrote:
> _reg_op() duplicates functionality of other bitmap functions.
> This series removes it.
>
> On top of this:
> https://lore.kernel.org/lkml/20221027043810.350460-1-yury.norov@gmail.com/
>
> Yury Norov (6):
> bitmap: add bitmap_empty_from()
> bitmap: replace _reg_op(REG_OP_ALLOC) with bitmap_set()
> bitmap: replace _reg_op(REG_OP_RELEASE) with bitmap_clear()
> bitmap: replace _reg_op(REG_OP_ISFREE) with bitmap_empty_from()
> bitmap: fix opencoded bitmap_allocate_region()
> bitmap: drop _reg_op()
>
> include/linux/bitmap.h | 11 ++++++
> lib/bitmap.c | 89 +++---------------------------------------
> 2 files changed, 17 insertions(+), 83 deletions(-)
>
> --
> 2.34.1

\
 
 \ /
  Last update: 2022-11-03 03:09    [W:0.061 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site