cvs commit: src/sys/dev/ubsec ubsec.c ubsecvar.h

Sam Leffler sam at FreeBSD.org
Mon Jun 2 16:32:05 PDT 2003


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


More information about the cvs-src mailing list