Date: Fri, 9 Jul 2004 02:28:23 +0000 (UTC) From: Bruce M Simpson <bms@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_xl.c Message-ID: <200407090228.i692SNmW036463@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bms 2004-07-09 02:28:23 UTC
FreeBSD src repository
Modified files:
sys/pci if_xl.c
Log:
Further improve locking in xl(4):
- Avoid an additional lock acquire/release when leaving xl_intr(), by
changing xl_start*() to xl_start*_locked(), and calling the appropriate
routine by chip revision (as the DMA descriptors are different).
- Simplify the appropriate routines now that they are called with the
lock held.
This should save a significant amount of CPU cycles spent on servicing
each interrupt for both UP and SMP whilst remaining MPSAFE.
Tested by: rwatson
Revision Changes Path
1.178 +34 -21 src/sys/pci/if_xl.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407090228.i692SNmW036463>
