Peter Zijlstra df65bba1dc lib/bsearch: Provide __always_inline variant
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().

[ tglx: Renamed to __inline_bsearch() as suggested by Andy ]

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Acked-by: Andy Lutomirski <luto@kernel.org>
Link: https://lkml.kernel.org/r/20200505135313.624443814@linutronix.de
2020-06-11 15:14:53 +02:00
..
2019-09-20 09:06:26 -07:00
2020-06-09 10:03:12 -07:00
2020-03-21 15:24:03 +01:00
2020-05-24 20:48:11 +02:00
2018-08-16 12:14:42 -07:00
2020-06-01 08:23:42 -04:00
2014-04-30 19:49:37 +01:00
2017-02-24 17:46:57 -08:00
2020-06-09 10:04:47 -07:00
2020-06-07 10:53:36 -07:00
2020-05-07 14:54:26 +08:00
2018-10-16 13:45:44 +02:00
2019-07-11 15:17:41 -07:00
2018-06-27 18:58:49 +03:00
2018-10-15 16:31:29 -04:00
2020-06-07 10:53:36 -07:00
2020-06-09 10:03:12 -07:00
2020-06-04 19:06:28 -07:00
2020-06-01 12:13:30 -07:00
2017-08-15 09:02:07 -07:00