From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Paul E. McKenney" Subject: Re: [PATCH v3 18/22] asm-generic/atomic: Use __always_inline for fallback wrappers Date: Wed, 19 Feb 2020 09:35:50 -0800 Message-ID: <20200219173550.GH2935@paulmck-ThinkPad-P72> References: <20200219144724.800607165@infradead.org> <20200219150745.416854783@infradead.org> <20200219165521.GG2935@paulmck-ThinkPad-P72> <20200219170609.GN18400@hirez.programming.kicks-ass.net> Reply-To: paulmck@kernel.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail.kernel.org ([198.145.29.99]:46370 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726598AbgBSRfv (ORCPT ); Wed, 19 Feb 2020 12:35:51 -0500 Content-Disposition: inline In-Reply-To: <20200219170609.GN18400@hirez.programming.kicks-ass.net> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Peter Zijlstra Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, rostedt@goodmis.org, mingo@kernel.org, joel@joelfernandes.org, gregkh@linuxfoundation.org, gustavo@embeddedor.com, tglx@linutronix.de, josh@joshtriplett.org, mathieu.desnoyers@efficios.com, jiangshanlai@gmail.com, luto@kernel.org, tony.luck@intel.com, frederic@kernel.org, dan.carpenter@oracle.com, mhiramat@kernel.org, Mark Rutland , Marco Elver 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 > > > Signed-off-by: Marco Elver > > > Acked-by: Mark Rutland > > > Signed-off-by: Paul E. McKenney > > > > 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