Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757420AbXEWV3R (ORCPT ); Wed, 23 May 2007 17:29:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755240AbXEWV3E (ORCPT ); Wed, 23 May 2007 17:29:04 -0400 Received: from sj-iport-6.cisco.com ([171.71.176.117]:25400 "EHLO sj-iport-6.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754963AbXEWV3B (ORCPT ); Wed, 23 May 2007 17:29:01 -0400 X-IronPort-AV: i="4.14,571,1170662400"; d="scan'208"; a="153525027:sNHT40465215" To: Adrian Bunk Cc: Arjan van de Ven , Rob Landley , linux-kernel@vger.kernel.org Subject: Re: Status of CONFIG_FORCED_INLINING? X-Message-Flag: Warning: May contain useful information References: <200705231510.52932.rob@landley.net> <46549937.1030306@linux.intel.com> <20070523212237.GH2098@stusta.de> From: Roland Dreier Date: Wed, 23 May 2007 14:28:56 -0700 In-Reply-To: <20070523212237.GH2098@stusta.de> (Adrian Bunk's message of "Wed, 23 May 2007 23:22:37 +0200") Message-ID: User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.19 (linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 23 May 2007 21:28:56.0303 (UTC) FILETIME=[5E5FD7F0:01C79D81] Authentication-Results: sj-dkim-1; header.From=rdreier@cisco.com; dkim=pass ( sig from cisco.com/sjdkim1004 verified; ); Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 574 Lines: 15 > - every static function in a header file must be __always_inline Why? Why does it matter whether a function is defined in a .h file or a .c file? Can't the compiler decide better than we can whether something should be inlined or not? Your argument seems to imply that we should never use the inline keyword at all. - R. - 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/