From owner-cvs-all@FreeBSD.ORG Mon Jun 2 16:35:00 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2BE2D37B401; Mon, 2 Jun 2003 16:35:00 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCBB243FAF; Mon, 2 Jun 2003 16:34:59 -0700 (PDT) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h52NYx0U003082; Mon, 2 Jun 2003 16:34:59 -0700 (PDT) (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h52NYxga003081; Mon, 2 Jun 2003 16:34:59 -0700 (PDT) Message-Id: <200306022334.h52NYxga003081@repoman.freebsd.org> From: Sam Leffler Date: Mon, 2 Jun 2003 16:34:59 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/hifn hifn7751.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2003 23:35:01 -0000 sam 2003/06/02 16:34:59 PDT FreeBSD src repository Modified files: sys/dev/hifn hifn7751.c Log: Redo locking for better SMP suport: o adding locking to op submission o mark interrupt handler MPSAFE o don't use locking on detach; disabling interrupts should be sufficient o change mutex string names so witness printouts are more meaningful Note: locking is still pretty brute-force but it's probably not worth improving it given the relatively low performance of hifn-based cards. Revision Changes Path 1.14 +18 -15 src/sys/dev/hifn/hifn7751.c