Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754325AbbDMSby (ORCPT ); Mon, 13 Apr 2015 14:31:54 -0400 Received: from mail-ie0-f172.google.com ([209.85.223.172]:36766 "EHLO mail-ie0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751177AbbDMSbv (ORCPT ); Mon, 13 Apr 2015 14:31:51 -0400 MIME-Version: 1.0 In-Reply-To: <20150413172624.GC398@x4> References: <20150410091252.GA27630@gmail.com> <20150410092152.GA21332@gmail.com> <20150410111427.GA30477@gmail.com> <20150410112748.GB30477@gmail.com> <20150410120846.GA17101@gmail.com> <5527C700.3030405@redhat.com> <5527CD92.1080901@zytor.com> <20150411144135.GB31416@x4> <20150412101422.GA2862@gmail.com> <20150413162308.GB398@x4> <20150413172624.GC398@x4> Date: Mon, 13 Apr 2015 11:31:50 -0700 X-Google-Sender-Auth: WEZHp5qYAhAdoYAt2yUivP2vHog Message-ID: Subject: Re: [PATCH] x86: Align jump targets to 1 byte boundaries From: Linus Torvalds To: Markus Trippelsdorf Cc: Ingo Molnar , "H. Peter Anvin" , Denys Vlasenko , "Paul E. McKenney" , Jason Low , Peter Zijlstra , Davidlohr Bueso , Tim Chen , Aswin Chandramouleeswaran , LKML , Borislav Petkov , Andy Lutomirski , Brian Gerst , Thomas Gleixner , Peter Zijlstra Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 630 Lines: 17 On Mon, Apr 13, 2015 at 10:26 AM, Markus Trippelsdorf wrote: > > I must have made a measurement mistake above, because the actual code > size savings are roughly 5%: Can you check against the -fno-guess-branch-probability output? Does lto (without pgo) perhaps end up undoing a lot of the random "branch out and back" noise? Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/