From owner-cvs-all@FreeBSD.ORG Mon Jun 2 16:32:04 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 C6EB837B401; Mon, 2 Jun 2003 16:32:04 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6404443F93; Mon, 2 Jun 2003 16:32:04 -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 h52NW40U003010; Mon, 2 Jun 2003 16:32:04 -0700 (PDT) (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h52NW4Yb003009; Mon, 2 Jun 2003 16:32:04 -0700 (PDT) Message-Id: <200306022332.h52NW4Yb003009@repoman.freebsd.org> From: Sam Leffler Date: Mon, 2 Jun 2003 16:32:04 -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/ubsec ubsec.c ubsecvar.h 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:32:05 -0000 sam 2003/06/02 16:32:04 PDT FreeBSD src repository Modified files: sys/dev/ubsec ubsec.c ubsecvar.h Log: Redo locking for proper SMP operation: o replace driver-global lock with three locks: one for the handling of mcr1 operations, one for handling of mcr2 operations, and one for the mcr1 free list o mark the interrupt handler MPSAFE o don't use locking on detach; disabling interrupts is sufficient (I think) Revision Changes Path 1.22 +47 -48 src/sys/dev/ubsec/ubsec.c 1.7 +3 -4 src/sys/dev/ubsec/ubsecvar.h