From owner-cvs-all Sat Feb 17 23:21:33 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1A5A437B401; Sat, 17 Feb 2001 23:21:29 -0800 (PST) Received: (from luigi@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f1I7LTa12869; Sat, 17 Feb 2001 23:21:29 -0800 (PST) (envelope-from luigi) Message-Id: <200102180721.f1I7LTa12869@freefall.freebsd.org> From: Luigi Rizzo Date: Sat, 17 Feb 2001 23:21:28 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_dc.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG luigi 2001/02/17 23:21:28 PST Modified files: sys/pci if_dc.c Log: Add a check in the interrupt service routine to return quickly in case there is nothing to do. This happens normally when the card shares the interrupt line with other devices. This code saves a couple of microseconds per interrupt even on a fast CPU. You normally would not care, except under heavy tinygram traffic where you can have some 50-100.000 interrupts per second... On passing, correct a spelling error. Revision Changes Path 1.47 +6 -3 src/sys/pci/if_dc.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message