diff options
author | Yury Norov <yury.norov@gmail.com> | 2023-09-25 04:38:15 +0200 |
---|---|---|
committer | Yury Norov <yury.norov@gmail.com> | 2023-10-15 05:25:22 +0200 |
commit | 9276819a68b52cf2577f77985041faf527cf477c (patch) | |
tree | 32b47f510cc4c21acfd629749063a3cd518887c6 /lib/radix-tree.h | |
parent | bitmap: replace _reg_op(REG_OP_RELEASE) with bitmap_clear() (diff) | |
download | linux-9276819a68b52cf2577f77985041faf527cf477c.tar.xz linux-9276819a68b52cf2577f77985041faf527cf477c.zip |
bitmap: replace _reg_op(REG_OP_ISFREE) with find_next_bit()
_reg_op(REG_OP_ISFREE) can be trivially replaced with find_next_bit().
Doing that opens room for potential small_const_nbits() optimization.
CC: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
CC: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Yury Norov <yury.norov@gmail.com>
Diffstat (limited to 'lib/radix-tree.h')
0 files changed, 0 insertions, 0 deletions