Date: Mon, 2 Jun 2003 16:32:04 -0700 (PDT) From: Sam Leffler <sam@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/ubsec ubsec.c ubsecvar.h Message-ID: <200306022332.h52NW4Yb003009@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306022332.h52NW4Yb003009>
