Re: [PATCH v3 02/10] lib: introduce generic min max heap

From: Joe Perches
Date: Mon Nov 18 2019 - 06:51:01 EST


On Mon, 2019-11-18 at 09:40 +0100, Peter Zijlstra wrote:
> On Sun, Nov 17, 2019 at 10:28:09AM -0800, Joe Perches wrote:
> > On Wed, 2019-11-13 at 16:30 -0800, Ian Rogers wrote:
> > > Based-on-work-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
> >
> > Perhaps some functions are a bit large for inline
>
> It all hard relies on always inline to have the indirect function
> pointers constant folded and inlined too.

Then perhaps __always_inline is more appropriate.