Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 3 Oct 2001 20:47:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 3 Oct 2001 20:47:04 -0400 Received: from shell.cyberus.ca ([209.195.95.7]:50360 "EHLO shell.cyberus.ca") by vger.kernel.org with ESMTP id ; Wed, 3 Oct 2001 20:46:53 -0400 Date: Wed, 3 Oct 2001 20:44:30 -0400 (EDT) From: jamal To: Ingo Molnar cc: Alexey Kuznetsov , , Robert Olsson , , , Linus Torvalds , Alan Cox Subject: Re: [announce] [patch] limiting IRQ load, irq-rewrite-2.4.11-B5 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 3 Oct 2001, Ingo Molnar wrote: > i like this approach very much, and indeed this is not polling in any way. > > i'm worried by the dev->quota variable a bit. As visible now in the > 2.4.10-poll.pat and tulip-NAPI-010910.tar.gz code, it keeps calling the > ->poll() function until dev->quota is gone. I think it should only keep > calling the function until the rx ring is fully processed - and it should > re-enable the receiver afterwards, when exiting net_rx_action. This would result in an unfairness. Think of one device which receives packets really fast that it takes most of the CPU capacity just processing it. cheers, jamal - 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/