[PATCH 0/2] bitmap: introduce for_each_set_bitrange()

From: Yury Norov
Date: Thu Jul 08 2021 - 23:45:40 EST


Introduce for_each_set_bitrange() and improve bitmap_list_string().

On top of:
https://lore.kernel.org/lkml/YNp3extAkTY8Aocd@yury-ThinkPad/T/ and
https://lore.kernel.org/lkml/YNirnaYw1GSxg1jK@yury-ThinkPad/T/

The full series is here:
https://github.com/norov/linux/commits/bm-f3

Yury Norov (2):
lib: bitmap: add performance test for bitmap_print_to_pagebuf
bitmap: introduce for_each_set_bitrange{_from}

include/linux/find.h | 7 +++++++
lib/test_bitmap.c | 37 +++++++++++++++++++++++++++++++++++++
lib/vsprintf.c | 40 ++++++++++++++++------------------------
3 files changed, 60 insertions(+), 24 deletions(-)

--
2.30.2