Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753987AbZAIRcY (ORCPT ); Fri, 9 Jan 2009 12:32:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752668AbZAIRcM (ORCPT ); Fri, 9 Jan 2009 12:32:12 -0500 Received: from one.firstfloor.org ([213.235.205.2]:49712 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752327AbZAIRcL (ORCPT ); Fri, 9 Jan 2009 12:32:11 -0500 Date: Fri, 9 Jan 2009 18:46:22 +0100 From: Andi Kleen To: Linus Torvalds Cc: Andi Kleen , Dirk Hohndel , "H. Peter Anvin" , Ingo Molnar , jim owens , Chris Mason , Peter Zijlstra , Steven Rostedt , paulmck@linux.vnet.ibm.com, Gregory Haskins , Matthew Wilcox , Andrew Morton , Linux Kernel Mailing List , linux-fsdevel , linux-btrfs , Thomas Gleixner , Nick Piggin , Peter Morreale , Sven Dietrich , jh@suse.cz Subject: Re: [patch] measurements, numbers about CONFIG_OPTIMIZE_INLINING=y impact Message-ID: <20090109174622.GF26290@one.firstfloor.org> References: <20090108183306.GA22916@elte.hu> <496648C7.5050700@zytor.com> <20090109130057.GA31845@elte.hu> <49675920.4050205@hp.com> <20090109153508.GA4671@elte.hu> <49677CB1.3030701@zytor.com> <20090109084620.3c711aad@infradead.org> <20090109172011.GD26290@one.firstfloor.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1415 Lines: 33 On Fri, Jan 09, 2009 at 09:11:47AM -0800, Linus Torvalds wrote: > IIRC, the numbers mean different things for different versions of gcc, and > I think using the parameters was very strongly discouraged by gcc > developers. IOW, they were meant for gcc developers internal tuning > efforts, not really for external people. Which means that using them would When I asked last time that was not what I heard. Apparently at least some --params are considered ready for user consumption these days. > put us _more_ at the mercy of random compiler versions rather than less. Yes it would basically be a list in the Makefile keyed on compiler version giving different options and someone would need to do the work to do that for each new compiler version. That would be some work, but it might be less work than going all over 9.7MLOCs and changing inlines around manually. Also the advantage is that that you wouldn't need to teach the rules to hundreds of new driver programmers. Anyways I'm not very strongly wedded to this idea, but I think it's an alternative that should be at least considered before doing anything else drastic. -Andi -- ak@linux.intel.com -- 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/