Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 2003 16:16:18 -0600 (CST)
From:      Mike Silbersack <silby@silby.com>
To:        Scott Long <scottl@FreeBSD.org>
Cc:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/aac aac.c aac_pci.c
Message-ID:  <20030219161458.T62705@patrocles.silby.com>
In-Reply-To: <200302192158.h1JLwYJn025529@repoman.freebsd.org>
References:  <200302192158.h1JLwYJn025529@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Out of curiosity, how are you testing MPSAFEness other than by visual
inspection?  I've been pondering making if_vr and if_xl MPSAFE, but I
really have no clue how to verify that I've done the job correctly.

Mike "Silby" Silbersack


On Wed, 19 Feb 2003, Scott Long wrote:

> scottl      2003/02/19 13:58:34 PST
>
>   Modified files:
>     sys/dev/aac          aac.c aac_pci.c
>   Log:
>   Make the aac driver be INTR_MPSAFE.  Once the interrupt handler determines
>   that a command completion happened, all further processing is deferred to
>   a taskqueue.  The taskqueue itself runs implicetely under Giant, but we
>   already used a taskqueue for the biodone() processing, so this at least
>   saves the contesting of Giant in the interrupt handler.
>
>   Revision  Changes    Path
>   1.54      +12 -36    src/sys/dev/aac/aac.c
>   1.29      +3 -2      src/sys/dev/aac/aac_pci.c
>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030219161458.T62705>