From owner-cvs-src@FreeBSD.ORG Fri Jul 9 02:28:23 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E38716A4CE; Fri, 9 Jul 2004 02:28:23 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70F7A43D39; Fri, 9 Jul 2004 02:28:23 +0000 (GMT) (envelope-from bms@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i692SNNA036464; Fri, 9 Jul 2004 02:28:23 GMT (envelope-from bms@repoman.freebsd.org) Received: (from bms@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i692SNmW036463; Fri, 9 Jul 2004 02:28:23 GMT (envelope-from bms) Message-Id: <200407090228.i692SNmW036463@repoman.freebsd.org> From: Bruce M Simpson Date: Fri, 9 Jul 2004 02:28:23 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/pci if_xl.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2004 02:28:23 -0000 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