From owner-cvs-src@FreeBSD.ORG Fri Jul 9 00:17:14 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 A6C6716A4CE; Fri, 9 Jul 2004 00:17:14 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7EBF343D31; Fri, 9 Jul 2004 00:17:14 +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 i690HE3v032941; Fri, 9 Jul 2004 00:17:14 GMT (envelope-from bms@repoman.freebsd.org) Received: (from bms@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i690HE33032940; Fri, 9 Jul 2004 00:17:14 GMT (envelope-from bms) Message-Id: <200407090017.i690HE33032940@repoman.freebsd.org> From: Bruce M Simpson Date: Fri, 9 Jul 2004 00:17:14 +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_vr.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 00:17:15 -0000 bms 2004-07-09 00:17:14 UTC FreeBSD src repository Modified files: sys/pci if_vr.c Log: Further locking improvements for vr(4): - Add *_locked() entry points as needed to avoid unnecessary lock thrashing. - Use these entry points wisely. - Only acquire the lock once when servicing an interrupt. - Check 'suspended' on interrupt to avoid racing detach. - Correct a mis-spelled comment. - Don't take the lock in vr_reset() to avoid lock thrashing in attach. - Comment this. Reviewed by: -net (silence) Revision Changes Path 1.90 +69 -46 src/sys/pci/if_vr.c