Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755785AbZAITJq (ORCPT ); Fri, 9 Jan 2009 14:09:46 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754632AbZAITJd (ORCPT ); Fri, 9 Jan 2009 14:09:33 -0500 Received: from mail-bw0-f21.google.com ([209.85.218.21]:42938 "EHLO mail-bw0-f21.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753907AbZAITJb (ORCPT ); Fri, 9 Jan 2009 14:09:31 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=JR8gYq/l1Hpb6bvihUv8Au+G7i1elDtej49CWQL0Pq8eOun1Jfou5pPGxhEM7/My7r A2cUXB/gfJJj+HwT1QI43nQgs+ST8G6M2KXOQlMgEg/h62duCVe2IuCDK+/s9ISyXHlm 5a9+xFjRx1lMjm7r+AmCUZsfI58HJtBacuk68= Message-ID: <84fc9c000901091109t2c2aef2fu596f8807b0962688@mail.gmail.com> Date: Fri, 9 Jan 2009 20:09:28 +0100 From: "Richard Guenther" To: "Linus Torvalds" Subject: Re: [patch] measurements, numbers about CONFIG_OPTIMIZE_INLINING=y impact Cc: "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 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <496648C7.5050700@zytor.com> <49675920.4050205@hp.com> <20090109153508.GA4671@elte.hu> <49677CB1.3030701@zytor.com> <20090109084620.3c711aad@infradead.org> <20090109172011.GD26290@one.firstfloor.org> <20090109172801.GC6936@parisc-linux.org> <20090109174719.GG26290@one.firstfloor.org> <20090109173914.GD6936@parisc-linux.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1146 Lines: 34 On Fri, Jan 9, 2009 at 6:54 PM, Linus Torvalds wrote: > > > On Fri, 9 Jan 2009, Matthew Wilcox wrote: >> >> That seems like valuable feedback to give to the GCC developers. > > Well, one thing we should remember is that the kernel really _is_ special. (sorry for not threading properly here) Linus writes: "Thirdly, you're just replacing _one_ random gcc choice with _another_ random one. What happens when you say -fno-inline-functions-called-once? Does it disable inlining for those functions IN GENERAL, or just for the LARGE ones? See?" -fno-inline-functions-called-once disables the heuristic that always inlines (static!) functions that are called once. Other heuristics still apply, like inlining the static function if it is small. Everything else would be totally stupid - which seems to be the "default mode" you think GCC developers are in. Richard. -- 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/