[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <84fc9c000901091109t2c2aef2fu596f8807b0962688@mail.gmail.com>
Date: Fri, 9 Jan 2009 20:09:28 +0100
From: "Richard Guenther" <richard.guenther@...il.com>
To: "Linus Torvalds" <torvalds@...ux-foundation.org>
Cc: "Matthew Wilcox" <matthew@....cx>,
"Andi Kleen" <andi@...stfloor.org>,
"Dirk Hohndel" <hohndel@...radead.org>,
"H. Peter Anvin" <hpa@...or.com>, "Ingo Molnar" <mingo@...e.hu>,
"jim owens" <jowens@...com>,
"Chris Mason" <chris.mason@...cle.com>,
"Peter Zijlstra" <peterz@...radead.org>,
"Steven Rostedt" <rostedt@...dmis.org>, paulmck@...ux.vnet.ibm.com,
"Gregory Haskins" <ghaskins@...ell.com>,
"Andrew Morton" <akpm@...ux-foundation.org>,
"Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>,
linux-fsdevel <linux-fsdevel@...r.kernel.org>,
linux-btrfs <linux-btrfs@...r.kernel.org>,
"Thomas Gleixner" <tglx@...utronix.de>,
"Nick Piggin" <npiggin@...e.de>,
"Peter Morreale" <pmorreale@...ell.com>,
"Sven Dietrich" <SDietrich@...ell.com>, jh@...e.cz
Subject: Re: [patch] measurements, numbers about CONFIG_OPTIMIZE_INLINING=y impact
On Fri, Jan 9, 2009 at 6:54 PM, Linus Torvalds
<torvalds@...ux-foundation.org> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists