From owner-freebsd-net Sat Oct 27 8: 8:22 2001 Delivered-To: freebsd-net@freebsd.org Received: from iguana.aciri.org (iguana.aciri.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id 0753937B405 for ; Sat, 27 Oct 2001 08:08:20 -0700 (PDT) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.3/8.11.1) id f9RF4md78357; Sat, 27 Oct 2001 08:04:48 -0700 (PDT) (envelope-from rizzo) Date: Sat, 27 Oct 2001 08:04:48 -0700 From: Luigi Rizzo To: Mike Silbersack Cc: Alfred Perlstein , Soren Kristensen , net@FreeBSD.ORG, Terry Lambert Subject: Re: NEW CODE: polling support for device drivers. Message-ID: <20011027080448.F77729@iguana.aciri.org> References: <20011027035240.Q15052@elvis.mu.org> <20011027044854.X88536-100000@achilles.silby.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011027044854.X88536-100000@achilles.silby.com> User-Agent: Mutt/1.3.23i Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, Oct 27, 2001 at 04:52:54AM -0500, Mike Silbersack wrote: ... > Summary: The patch Terry posted was to loop a few more times in the > interrupt handler. I was going to commit it this weekend for the dc > driver, but it looks like Luigi's work overshadows that. Terry was kind enough to send me a copy of his patch. I havent looked at it in much details, but from what i remember it matches the description given above by Mike, and is totally different from what I have done (which also explain why i did not look more closely at Terry's code). Note, the use of polling is not novel and i do not claim any paternity on the ideas i have implemented -- polling has been largely described in the literature and implemented by some (I know of Mogul's 1997 paper on preventing interrupt livelock and of MIT's Click http://www.pdos.lcs.mit.edu/Click/ ). I am just quite proud of how simple and compact (and possibly elegant) this code came out (admittedly, this is the third rewrite!) cheers luigi ----------------------------------+----------------------------------------- Luigi RIZZO, luigi@iet.unipi.it . ACIRI/ICSI (on leave from Univ. di Pisa) http://www.iet.unipi.it/~luigi/ . 1947 Center St, Berkeley CA 94704 Phone: (510) 666 2927 ----------------------------------+----------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message