Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754020AbZAIRSe (ORCPT ); Fri, 9 Jan 2009 12:18:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752531AbZAIRSW (ORCPT ); Fri, 9 Jan 2009 12:18:22 -0500 Received: from one.firstfloor.org ([213.235.205.2]:42648 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752233AbZAIRSV (ORCPT ); Fri, 9 Jan 2009 12:18:21 -0500 Date: Fri, 9 Jan 2009 18:32:33 +0100 From: Andi Kleen To: Steven Rostedt Cc: "H. Peter Anvin" , Dirk Hohndel , Ingo Molnar , jim owens , Linus Torvalds , Chris Mason , Peter Zijlstra , paulmck@linux.vnet.ibm.com, Gregory Haskins , Matthew Wilcox , Andi Kleen , Andrew Morton , Linux Kernel Mailing List , linux-fsdevel , linux-btrfs , Thomas Gleixner , Nick Piggin , Peter Morreale , Sven Dietrich Subject: Re: [patch] measurements, numbers about CONFIG_OPTIMIZE_INLINING=y impact Message-ID: <20090109173233.GE26290@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> <49678095.2030803@zytor.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: 784 Lines: 23 > I vote for the, get rid of the current inline, rename __always_inline to There is some code that absolutely requires inline for correctness, like the x86-64 vsyscall code. I would advocate to keep the explicit __always_inline at least there to make it very clear. > inline, and then remove all non needed inlines from the kernel. Most inlines in .c should be probably dropped. > > We'll, probably start adding a lot more noinlines. That would cost you, see the numbers I posted (~4.1% text increase) -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/