cvs commit: src/sys/pci if_sis.c if_sisreg.h
Poul-Henning Kamp
phk at FreeBSD.org
Thu Dec 25 14:14:26 PST 2003
phk 2003/12/25 14:14:25 PST
FreeBSD src repository
Modified files:
sys/pci if_sis.c if_sisreg.h
Log:
Vastly improve performance of IRQ handling on stopped interfaces with
this driver by introducing a flag saying we already stopped the device.
On my Soekris net4801, this took a ping -i 0.001 from spending 80% of
time in interrupt handling to 10% (approx numbers).
This was a particular problem for the net4801 because the tree
interfaces share the same interrupt, but it would be a problem for
any configuration where an unused if_sis interface shares an interrupt
with a busy device.
Other drivers may have similar problems.
Thanks to: Luigi
Revision Changes Path
1.93 +4 -0 src/sys/pci/if_sis.c
1.26 +1 -0 src/sys/pci/if_sisreg.h
More information about the cvs-src
mailing list