From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761411Ab0J2MXG (ORCPT ); Fri, 29 Oct 2010 08:23:06 -0400 Received: from mx2.mail.elte.hu ([157.181.151.9]:34022 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756878Ab0J2MXD (ORCPT ); Fri, 29 Oct 2010 08:23:03 -0400 Date: Fri, 29 Oct 2010 14:22:30 +0200 From: Ingo Molnar To: Steven Rostedt Cc: Jason Baron , David Daney , rth@redhat.com, "H. Peter Anvin" , mathieu.desnoyers@polymtl.ca, tglx@linutronix.de, andi@firstfloor.org, roland@redhat.com, masami.hiramatsu.pt@hitachi.com, fweisbec@gmail.com, avi@redhat.com, davem@davemloft.net, vgoyal@redhat.com, sam@ravnborg.org, tony@bakeyournoodle.com, dsd@laptop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] jump label: disable due to compiler bug Message-ID: <20101029122230.GA25663@elte.hu> References: <2d1b1d5d2b3930e1acb063cefffbcb2faf049854.1288212486.git.jbaron@redhat.com> <20101028141757.GA2875@redhat.com> <4CC9C724.3020004@caviumnetworks.com> <20101028201112.GA4792@redhat.com> <20101029063450.GE29463@elte.hu> <1288354687.18238.433.camel@gandalf.stny.rr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1288354687.18238.433.camel@gandalf.stny.rr.com> User-Agent: Mutt/1.5.20 (2009-08-17) X-ELTE-SpamScore: -2.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-2.0 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.5 -2.0 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Steven Rostedt wrote: > On Fri, 2010-10-29 at 08:34 +0200, Ingo Molnar wrote: > > * Jason Baron wrote: > > > > > Thus, I'm going to propose a patch, which makes jump label conditional on x86_64 > > > for now [...] > > > > No, we dont do 64-bit only features really. > > > > > [...] (adding -maccumulate-outgoing-args to x86 increases the text size, so I'm > > > not proposing adding the flag there). > > > > Please make jump labels configurable instead. (dependent on EMBEDDED) > > Do you mean to have it dependent on !EMBEDDED, or perhaps !CC_OPTIMIZE_FOR_SIZE ? CC_OPTIMIZE_FOR_SIZE dependency probably not. Might even leave out !EMBEDDED, to make it generally configurable. Also, we should make it default off - we need to see whether there are any compiler bugs lurking. > I can see people making a big stink about adding back a gcc option that makes the > kernel bigger. Depends on exactly how much .text we are talking about here. Plus it would be default-off. Thanks, Ingo