Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jun 2003 07:46:23 -0700
From:      "Sam Leffler" <sam@errno.com>
To:        "Nate Lawson" <nate@root.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/ubsec ubsec.c ubsecvar.h
Message-ID:  <088401c329de$e82f7a50$52557f42@errno.com>
References:  <20030602233211.2492D37B4A2@hub.freebsd.org> <20030602234329.T22029@root.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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
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)
>
> 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@aslan.btc.adaptec.com>

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

    Sam



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?088401c329de$e82f7a50$52557f42>