From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arjan van de Ven Subject: Re: include/linux/pcounter.h Date: Sat, 16 Feb 2008 11:39:09 -0800 Message-ID: <20080216113909.54c0d3df@laptopd505.fenrus.org> References: <20080204014402.1c55d3fe.akpm@linux-foundation.org> <20080215193711.2e3d41f3.akpm@linux-foundation.org> <47B6B5E1.90705@cosmosbay.com> <20080216025051.751b4a86.akpm@linux-foundation.org> <47B6D12A.3090401@cosmosbay.com> <20080216112618.ec450f9b.akpm@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Eric Dumazet , Herbert Xu , "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: Andrew Morton Return-path: Received: from pentafluge.infradead.org ([213.146.154.40]:50346 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756838AbYBPTjj (ORCPT ); Sat, 16 Feb 2008 14:39:39 -0500 In-Reply-To: <20080216112618.ec450f9b.akpm@linux-foundation.org> Sender: netdev-owner@vger.kernel.org List-ID: On Sat, 16 Feb 2008 11:26:18 -0800 Andrew Morton wrote: > > indirect functions calls are everywhere in kernel, network, fs, > > everywhere. > > That doesn't make them fast. just to emphasize this: an indirect function call is at least as expensive as an atomic operation on x86 cpus.... (if not more) -- If you want to reach me at my work email, use arjan@linux.intel.com For development, discussion and tips for power savings, visit http://www.lesswatts.org