Thread (23 messages) 23 messages, 3 authors, 2021-02-17

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

From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: 2021-02-01 13:49:43
Also in: linux-m68k, linux-sh, lkml

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help