lkml.org 
[lkml]   [2021]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/4] bitmap: unify for_each_bit() macros
Date
Replace bitmap_for_each_bit_region() with for_each_set_bitrange()
and ~30 times improve bitmap_list_string() with new macro.

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/bitmap-20210716

v1: https://lore.kernel.org/patchwork/patch/1455255/
v2: - replace bitmap_for_each_bit_region();
- address comments for bitmap_list_string() rework.

Yury Norov (4):
mm/percpu: micro-optimize pcpu_is_populated()
bitmap: unify find_bit operations
lib: bitmap: add performance test for bitmap_print_to_pagebuf
vsprintf: rework bitmap_list_string

drivers/mmc/host/renesas_sdhi_core.c | 2 +-
include/linux/bitmap.h | 41 --------------------
include/linux/find.h | 56 ++++++++++++++++++++++++++++
lib/test_bitmap.c | 37 ++++++++++++++++++
lib/vsprintf.c | 24 ++++--------
mm/percpu.c | 35 ++++++++---------
6 files changed, 117 insertions(+), 78 deletions(-)

--
2.30.2

\
 
 \ /
  Last update: 2021-07-19 04:19    [W:0.063 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site