Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754729Ab3HEUGv (ORCPT ); Mon, 5 Aug 2013 16:06:51 -0400 Received: from prod-mail-xrelay02.akamai.com ([72.246.2.14]:43826 "EHLO prod-mail-xrelay02.akamai.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754305Ab3HEUGu (ORCPT ); Mon, 5 Aug 2013 16:06:50 -0400 Message-ID: <520005D8.9080108@akamai.com> Date: Mon, 05 Aug 2013 16:06:48 -0400 From: Jason Baron User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 MIME-Version: 1.0 To: Steven Rostedt CC: Linus Torvalds , LKML , gcc , Ingo Molnar , Mathieu Desnoyers , "H. Peter Anvin" , Thomas Gleixner , David Daney , Behan Webster , Peter Zijlstra , Herbert Xu Subject: Re: [RFC] gcc feature request: Moving blocks into sections References: <1375721715.22073.80.camel@gandalf.local.home> <1375725328.22073.101.camel@gandalf.local.home> <1375727977.22073.112.camel@gandalf.local.home> In-Reply-To: <1375727977.22073.112.camel@gandalf.local.home> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1188 Lines: 33 On 08/05/2013 02:39 PM, Steven Rostedt wrote: > On Mon, 2013-08-05 at 11:20 -0700, Linus Torvalds wrote: > >> Of course, it would be good to optimize static_key_false() itself - >> right now those static key jumps are always five bytes, and while they >> get nopped out, it would still be nice if there was some way to have >> just a two-byte nop (turning into a short branch) *if* we can reach >> another jump that way..For small functions that would be lovely. Oh >> well. > I had patches that did exactly this: > > https://lkml.org/lkml/2012/3/8/461 > > But it got dropped for some reason. I don't remember why. Maybe because > of the complexity? > > -- Steve Hi Steve, I recall testing your patches and the text size increased unexpectedly. I believe I correctly accounted for changes to the text size *outside* of branch points. If you do re-visit the series that is one thing I'd like to double check/understand. Thanks, -Jason -- 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/