| From | Andy Lutomirski <> | Date | Wed, 13 May 2020 21:58:31 -0700 | Subject | Re: [patch V4 part 4 03/24] lib/bsearch: Provide __always_inline variant |
| |
On Tue, May 5, 2020 at 7:15 AM Thomas Gleixner <tglx@linutronix.de> wrote: > > From: Peter Zijlstra <peterz@infradead.org> > > For code that needs the ultimate performance (it can inline the @cmp > function too) or simply needs to avoid calling external functions for > whatever reason, provide an __always_inline variant of bsearch().
Acked-by: Andy Lutomirski <luto@kernel.org>
Although maybe a more explicit name (e.g. __inlined_bsearch()) would be more clear?
|