Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764515AbXLMTJk (ORCPT ); Thu, 13 Dec 2007 14:09:40 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760342AbXLMTJa (ORCPT ); Thu, 13 Dec 2007 14:09:30 -0500 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:45856 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1760271AbXLMTJ2 (ORCPT ); Thu, 13 Dec 2007 14:09:28 -0500 Date: Thu, 13 Dec 2007 11:09:28 -0800 (PST) Message-Id: <20071213.110928.26060224.davem@davemloft.net> To: gallatin@myri.com Cc: shemminger@linux-foundation.org, joonwpark81@gmail.com, auke-jan.h.kok@intel.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, jgarzik@pobox.com, jesse.brandeburg@intel.com Subject: Re: [RFC] net: napi fix From: David Miller In-Reply-To: <476181C1.3060204@myri.com> References: <20071213.061938.86541759.davem@davemloft.net> <20071213102233.3727e9a0@freepuppy.rosehill> <476181C1.3060204@myri.com> X-Mailer: Mew version 5.2 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 566 Lines: 15 From: Andrew Gallatin Date: Thu, 13 Dec 2007 14:02:25 -0500 > Or perhaps we should just leave things as is. We should probably add a "disabling" state bit to the napi struct flags, this will be set by napi_disable() before it loops trying to set the sched bit. net_rx_action() can then check this. -- 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/