Skip to content

bitmap: optimize small_const path for

Yury Norov linux-arch lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3bitmap: switch from inline to __always_inlineinclude/linux/bitmap.h include/linux/cpumask.h include/linux/find.h +1 more+158 -1580 replies
2/3bitmap: improve small_const case for find_next() functionsinclude/asm-generic/bitsperlong.h include/linux/find.h+29 -280 replies
3/3bitmap: add tests for find_next_bit()lib/test_bitmap.c+21 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] bitmap: optimize small_const path for

Make all inline bitmap functions __always_inline to ensure that small_const optimization is always possible, and improve on it for find_next_bit() and friends.

Yury Norov (3):
bitmap: switch from inline to __always_inline
bitmap: improve small_const case for find_next() functions
bitmap: add tests for find_next_bit()

 include/asm-generic/bitsperlong.h |  12 +++
 include/linux/bitmap.h            |  46 +++++-----
 include/linux/cpumask.h           | 144 +++++++++++++++---------------
 include/linux/find.h              |  85 ++++++++----------
 include/linux/nodemask.h          |  86 +++++++++---------
 lib/test_bitmap.c                 |  23 ++++-
 6 files changed, 208 insertions(+), 188 deletions(-)
Signature · 1 line
2.34.1