Re: [PATCH 6/8] lib: inline _find_next_bit() wrappers

From: Andy Shevchenko
Date: Mon Feb 01 2021 - 08:49:43 EST


On Sat, Jan 30, 2021 at 11:17:17AM -0800, Yury Norov wrote:
> lib/find_bit.c declares five single-line wrappers for _find_next_bit().
> We may turn those wrappers to inline functions. It eliminates unneeded
> function calls and opens room for compile-time optimizations.

> tools/include/asm-generic/bitops/find.h | 27 +++++++++---
> tools/lib/find_bit.c | 52 ++++++++++-------------

In a separated patch, please. I don't think we need to defer this series in
case if tools lagged (which is usual case in my practice).

--
With Best Regards,
Andy Shevchenko