From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Subject: Re: [patch] measurements, numbers about CONFIG_OPTIMIZE_INLINING=y impact Date: Fri, 9 Jan 2009 20:40:26 +0100 Message-ID: <20090109194026.GM26290@one.firstfloor.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> <20090109181952.GI26290@one.firstfloor.org> <84fc9c000901091059v65265413wda053d3ce5b0d17a@mail.gmail.com> <20090109192158.GK26290@one.firstfloor.org> <84fc9c000901091110n2f5565b7mecf9acec35cf5a0@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Andi Kleen , Linus Torvalds , Matthew Wilcox , 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 To: Richard Guenther Return-path: In-Reply-To: <84fc9c000901091110n2f5565b7mecf9acec35cf5a0@mail.gmail.com> List-ID: On Fri, Jan 09, 2009 at 08:10:20PM +0100, Richard Guenther wrote: > On Fri, Jan 9, 2009 at 8:21 PM, Andi Kleen wrote: > >> GCC 4.3 should be good in compiling the > >> kernel with default -Os settings. > > > > It's unfortunately not. It doesn't inline a lot of simple asm() inlines > > for example. > > Reading Ingos posting with the actual numbers states the opposite. Hugh had some numbers upto 4.4.0 20090102 in http://thread.gmane.org/gmane.linux.kernel/775254/focus=777231 which demonstrated the problem. -Andi -- ak@linux.intel.com