Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757536AbZAIU5q (ORCPT ); Fri, 9 Jan 2009 15:57:46 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757115AbZAIU4i (ORCPT ); Fri, 9 Jan 2009 15:56:38 -0500 Received: from pfepa.post.tele.dk ([195.41.46.235]:35682 "EHLO pfepa.post.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757271AbZAIU4g (ORCPT ); Fri, 9 Jan 2009 15:56:36 -0500 Date: Fri, 9 Jan 2009 21:58:13 +0100 From: Sam Ravnborg To: Linus Torvalds Cc: Richard Guenther , Matthew Wilcox , Andi Kleen , Dirk Hohndel , "H. Peter Anvin" , Ingo Molnar , jim owens , Chris Mason , Peter Zijlstra , Steven Rostedt , paulmck@linux.vnet.ibm.com, Gregory Haskins , 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: <20090109205812.GA24837@uranus.ravnborg.org> References: <20090109084620.3c711aad@infradead.org> <20090109172011.GD26290@one.firstfloor.org> <20090109172801.GC6936@parisc-linux.org> <20090109174719.GG26290@one.firstfloor.org> <20090109173914.GD6936@parisc-linux.org> <84fc9c000901091109t2c2aef2fu596f8807b0962688@mail.gmail.com> <84fc9c000901091214i16fc74b7q349433a5586d5619@mail.gmail.com> 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: 970 Lines: 25 > > And you do have to realize that Linux has been using gcc for a _loong_ > while. You can talk all you want about how "inline" is just a hint, but > the fact is, it didn't use to be. gcc people _made_ it so, and are having > a damn hard time admitting that it's causing problems. The kernel has used: # define inline inline __attribute__((always_inline)) For a looong time. So anyone in the kernel when they said "inline" actually said to gcc: if you have any possible way to do so inline this sucker. Now we have a config option that changes this so inline is only a hint. gcc does not pay enough attention to the hint, especially compared to the days where the hint was actually a command. Sam -- 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/