summaryrefslogtreecommitdiffstats
path: root/lib/radix-tree.h
diff options
context:
space:
mode:
authorYury Norov <yury.norov@gmail.com>2023-09-25 04:38:15 +0200
committerYury Norov <yury.norov@gmail.com>2023-10-15 05:25:22 +0200
commit9276819a68b52cf2577f77985041faf527cf477c (patch)
tree32b47f510cc4c21acfd629749063a3cd518887c6 /lib/radix-tree.h
parentbitmap: replace _reg_op(REG_OP_RELEASE) with bitmap_clear() (diff)
downloadlinux-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