Re: [patch V4 part 4 03/24] lib/bsearch: Provide __always_inline variant

2020-05-13 Thread Andy Lutomirski
On Tue, May 5, 2020 at 7:15 AM Thomas Gleixner wrote: > > From: Peter Zijlstra > > 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(). Ack

[patch V4 part 4 03/24] lib/bsearch: Provide __always_inline variant

2020-05-05 Thread Thomas Gleixner
From: Peter Zijlstra 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(). Signed-off-by: Peter Zijlstra (Intel) Signed-off-by: Thomas Gleixner