Re: [PATCH 8/8] lib: add fast path for find_first_*_bit() and find_last_bit()

From: Andy Shevchenko
Date: Mon Feb 01 2021 - 08:52:36 EST


On Sat, Jan 30, 2021 at 11:17:19AM -0800, Yury Norov wrote:
> Similarly to bitmap functions, users will benefit if we'll handle
> a case of small-size bitmaps that fit into a single word.
>
> While here, move the find_last_bit() declaration to bitops/find.h
> where other find_*_bit() functions sit.

As per previous patches:
- decouple from tools
- show examples of the code generation difference

--
With Best Regards,
Andy Shevchenko