Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964858AbVIMQ1K (ORCPT ); Tue, 13 Sep 2005 12:27:10 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964855AbVIMQ1J (ORCPT ); Tue, 13 Sep 2005 12:27:09 -0400 Received: from smtp.osdl.org ([65.172.181.4]:50598 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S964849AbVIMQ1H (ORCPT ); Tue, 13 Sep 2005 12:27:07 -0400 Date: Tue, 13 Sep 2005 09:26:59 -0700 From: Stephen Hemminger To: Ravikiran G Thirumalai Cc: Andrew Morton , linux-kernel@vger.kernel.org, dipankar@in.ibm.com, bharata@in.ibm.com, shai@scalex86.org, Rusty Russell , netdev@vger.kernel.org, davem@davemloft.net Subject: Re: [patch 7/11] net: Use bigrefs for net_device.refcount Message-ID: <20050913092659.791bddec@localhost.localdomain> In-Reply-To: <20050913161012.GI3570@localhost.localdomain> References: <20050913155112.GB3570@localhost.localdomain> <20050913161012.GI3570@localhost.localdomain> X-Mailer: Sylpheed-Claws 1.9.13 (GTK+ 2.6.7; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 804 Lines: 18 On Tue, 13 Sep 2005 09:10:12 -0700 Ravikiran G Thirumalai wrote: > The net_device has a refcnt used to keep track of it's uses. > This is used at the time of unregistering the network device > (module unloading ..) (see netdev_wait_allrefs) . > For loopback_dev , this refcnt increment/decrement is causing > unnecessary traffic on the interlink for NUMA system > affecting it's performance. This patch improves tbench numbers by 6% on a > 8way x86 Xeon (x445). > Since when is bringing a network device up/down performance critical? - 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/