Re: [PATCH v3 18/22] asm-generic/atomic: Use __always_inline for fallback wrappers

From: Paul E. McKenney
Date: Wed Feb 19 2020 - 12:35:53 EST


On Wed, Feb 19, 2020 at 06:06:09PM +0100, Peter Zijlstra wrote:
> On Wed, Feb 19, 2020 at 08:55:21AM -0800, Paul E. McKenney wrote:
> > On Wed, Feb 19, 2020 at 03:47:42PM +0100, Peter Zijlstra wrote:
> > > While the fallback wrappers aren't pure wrappers, they are trivial
> > > nonetheless, and the function they wrap should determine the final
> > > inlining policy.
> > >
> > > For x86 tinyconfig we observe:
> > > - vmlinux baseline: 1315988
> > > - vmlinux with patch: 1315928 (-60 bytes)
> > >
> > > Suggested-by: Mark Rutland <mark.rutland@xxxxxxx>
> > > Signed-off-by: Marco Elver <elver@xxxxxxxxxx>
> > > Acked-by: Mark Rutland <mark.rutland@xxxxxxx>
> > > Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxx>
> >
> > And this one and the previous one are also already in -tip, FYI.
>
> That's where I found them ;-) Stole them from tip/locking/kcsan.

As long as the heist is official, then. ;-)

Thanx, Paul