]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Redo locking for proper SMP operation:
authorSam Leffler <sam@FreeBSD.org>
Mon, 2 Jun 2003 23:32:03 +0000 (23:32 +0000)
committerSam Leffler <sam@FreeBSD.org>
Mon, 2 Jun 2003 23:32:03 +0000 (23:32 +0000)
commitaf2b2a7331cf6b52d58acf3e0a16971601d543bc
tree8ca0b6708a76c5b4c3d834cb08ace42ccf3512fc
parent3569ae7f667f89001ebda6fcb5dfd76253cd1cc4
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)
sys/dev/ubsec/ubsec.c
sys/dev/ubsec/ubsecvar.h