From owner-freebsd-current Sat Oct 6 13:32:24 2001 Delivered-To: freebsd-current@freebsd.org Received: from peter3.wemm.org (c1315225-a.plstn1.sfba.home.com [24.14.150.180]) by hub.freebsd.org (Postfix) with ESMTP id 118A537B403 for ; Sat, 6 Oct 2001 13:32:20 -0700 (PDT) Received: from overcee.netplex.com.au (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id f96KWJM67219 for ; Sat, 6 Oct 2001 13:32:19 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id AC2683808; Sat, 6 Oct 2001 13:32:19 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: tlambert2@mindspring.com Cc: current@FreeBSD.ORG Subject: Re: KRIS: FOR YOU TO COMMIT: soft interrupt coelescing In-Reply-To: <3BBF5E49.65AF9D8E@mindspring.com> Date: Sat, 06 Oct 2001 13:32:19 -0700 From: Peter Wemm Message-Id: <20011006203219.AC2683808@overcee.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Terry Lambert wrote: > This is based on ideas in the Jeff Mogul (DEC Western Research > Labs) paper from 1995: These look like a subset of what Garrett was working on in 1996: (sys/i386/isa/if_ed.c) revision 1.95.2.1 date: 1996/04/01 18:59:25; author: wollman; state: Exp; lines: +378 -22 These are (mostly) my changes for polling of network interrupts, on a private branch. Some of these changes are generally applicable, but most of this is to show other people what I'm up to (and what they need to be prepared for). > http://www.research.digital.com/wrl/techreports/abstracts/95.8.html > http://ftp.digital.com/%7emogul/usenix96.ps > > Kris: Commit this... K PLZ THX. Certainly not with this lousy patch with no context! > Index: if_dc.c > =================================================================== > RCS file: /home/cvs/clickarray/FreeBSD/sys.releng4/pci/if_dc.c,v > retrieving revision 1.1.1.2 > diff -r1.1.1.2 if_dc.c > 196,197c196,197 > < static void dc_rxeof __P((struct dc_softc *)); > < static void dc_txeof __P((struct dc_softc *)); > --- > > static int dc_rxeof __P((struct dc_softc *)); > > static int dc_txeof __P((struct dc_softc *)); > 2305c2305 > < static void dc_rxeof(sc) > --- > > static int dc_rxeof(sc) > 2313a2314 > > int cnt = 0; > 2358c2359 > < return; > --- > > return(cnt); > 2381a2383 > > cnt++; > 2392c2394 > < static void dc_txeof(sc) > --- > > static int dc_txeof(sc) > 2397a2400 > > int cnt = 0; > 2455c2458 > < return; > --- > > return(cnt); > 2468a2472 > > cnt++; > 2475c2479 > < return; > --- > > return(cnt); > 2614a2619 > > int cnt = 0; > 2632a2638 > > again: > 2640c2646 > < dc_rxeof(sc); > --- > > cnt += dc_rxeof(sc); [.. useless patch trimmed ..] Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message