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

Paul E. McKenney
2020-02-19T17:35:53Z

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@arm.com>
> > > Signed-off-by: Marco Elver <elver@google.com>
> > > Acked-by: Mark Rutland <mark.rutland@arm.com>
> > > Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
> >
> > 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