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

Sam Leffler sam at
Tue Jun 3 07:46:28 PDT 2003

> On Mon, 2 Jun 2003, Sam Leffler wrote:
> >   Redo locking for proper SMP operation:
> >
> >   o replace driver-global lock with three locks: one for the handling of
> >     operations, one for handling of mcr2 operations, and one for the
> >     free list
> >   o mark the interrupt handler MPSAFE
> >   o don't use locking on detach; disabling interrupts is sufficient (I
> Unfortunately it's not if you're on a shared interrupt.  You need to
> call bus_teardown_intr() before you are detached from the ithread.  See
> the thread near this message:
>   Message-ID: <1742240000.1051807110 at>

If you're interested look at the change.  I understood the device could be
on a shared irq.


More information about the cvs-all mailing list