Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 13 Jun 2002 09:21:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 13 Jun 2002 09:21:36 -0400 Received: from faui02.informatik.uni-erlangen.de ([131.188.30.102]:50094 "EHLO faui02.informatik.uni-erlangen.de") by vger.kernel.org with ESMTP id ; Thu, 13 Jun 2002 09:21:35 -0400 Date: Thu, 13 Jun 2002 14:45:42 +0200 From: Richard Zidlicky To: Martin Dalecki Cc: Kernel Mailing List Subject: Re: [PATCH] 2.5.21 inline abuse... Message-ID: <20020613144542.E1944@linux-m68k.org> In-Reply-To: <3D072767.7030300@evision-ventures.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 12, 2002 at 12:50:15PM +0200, Martin Dalecki wrote: > The attached patch is trying to address the most obvious > abuses or inadequacies in the usage of the inline attribute > to functions. Many of the remaining usages should be removed > as well since apparently GCC got really good at figuring out > on its own whatever it makes sense to inline a function or not. do you compile your kernels with -O3 or -finline-functions? Otherwise gcc should not inline anything at all without the explicit inline keyword. 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/