On Fri, 8 May 2015 12:26:02 +0200 Denys Vlasenko <[email protected]> wrote:
> This patch fixes this for x86 atomic ops via s/inline/__always_inline/. > This decreases allyesconfig kernel by about 25k: > > text data bss dec hex filename > 82399481 22255416 20627456 125282353 777a831 vmlinux.before > 82375570 22255544 20627456 125258570 7774b4a vmlinux I agree, there's no reason that atomic_* functions should not be inlined. Acked-by: Steven Rostedt <[email protected]> -- Steve > > Signed-off-by: Denys Vlasenko <[email protected]> > CC: Steven Rostedt <[email protected]> > CC: Ingo Molnar <[email protected]> > CC: Borislav Petkov <[email protected]> > CC: "H. Peter Anvin" <[email protected]> > CC: Andy Lutomirski <[email protected]> > CC: Frederic Weisbecker <[email protected]> > CC: Alexei Starovoitov <[email protected]> > CC: Will Drewry <[email protected]> > CC: Kees Cook <[email protected]> > CC: [email protected] > CC: [email protected] > --- > arch/x86/include/asm/atomic.h | 28 ++++++++++++++-------------- > 1 file changed, 14 insertions(+), 14 deletions(-) > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

