From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933857AbbENTGa (ORCPT ); Thu, 14 May 2015 15:06:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39274 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933403AbbENTG2 (ORCPT ); Thu, 14 May 2015 15:06:28 -0400 Message-ID: <5554F1C4.5060802@redhat.com> Date: Thu, 14 May 2015 21:04:36 +0200 From: Denys Vlasenko User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Ingo Molnar CC: "Paul E. McKenney" , Linus Torvalds , Jason Low , Peter Zijlstra , Davidlohr Bueso , Tim Chen , Aswin Chandramouleeswaran , LKML , Borislav Petkov , Andy Lutomirski , Brian Gerst , "H. Peter Anvin" , Thomas Gleixner , Peter Zijlstra Subject: Re: [PATCH] x86: Align jump targets to 1 byte boundaries References: <20150409183926.GM6464@linux.vnet.ibm.com> <20150410090051.GA28549@gmail.com> <20150410091252.GA27630@gmail.com> <20150410092152.GA21332@gmail.com> <20150410111427.GA30477@gmail.com> <20150410112748.GB30477@gmail.com> <20150410120846.GA17101@gmail.com> <55548E12.6020207@redhat.com> <20150514181707.GA21728@gmail.com> In-Reply-To: <20150514181707.GA21728@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/14/2015 08:17 PM, Ingo Molnar wrote: > There were also these other changes I tested: > > + # Reduces vmlinux size by 0.25%: > + KBUILD_CFLAGS += -fno-caller-saves > + > + # Reduces vmlinux size by 1.10%: > + KBUILD_CFLAGS += -fno-inline-small-functions > + > + # Reduces vmlinux size by about 0.95%: > + KBUILD_CFLAGS += -fno-tree-ch > > We could maybe consider -fno-caller-saves. What do you think about > that option? Quick googling din't even find what it does. It would need a comment :)