Date: Sat, 17 Feb 2001 23:21:28 -0800 (PST) From: Luigi Rizzo <luigi@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_dc.c Message-ID: <200102180721.f1I7LTa12869@freefall.freebsd.org>
index | next in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102180721.f1I7LTa12869>
