Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2001 10:50:52 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Seigo Tanimura <tanimura@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   RE: cvs commit: src/sys/dev/sound/isa emu8000.c gusmidi.c mpu.c
Message-ID:  <XFMail.010226105052.jhb@FreeBSD.org>
In-Reply-To: <200102260736.f1Q7aPd19490@freefall.freebsd.org>

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

On 26-Feb-01 Seigo Tanimura wrote:
> tanimura    2001/02/25 23:36:25 PST
> 
>   Modified files:
>     sys/dev/sound/isa    emu8000.c gusmidi.c mpu.c opl.c uartsio.c 
>     sys/dev/sound/midi   midi.c midi.h midibuf.c midibuf.h 
>                          midisynth.c midisynth.h sequencer.c 
>                          sequencer.h 
>     sys/dev/sound/pci    csamidi.c 
>   Log:
>   - Mutexify midi(4). The driver runs under the giant lock by default.
>   If you ever want to run midi(4) out of the giant lock, uncomment
>   MIDI_OUTOFGIANT in midi.h. Confirmed to work for csamidi with WITNESS
>   and INVARIANTS.

Err, I hope that you do all mutex operations regardless, and only use this
option to control setting the INTR_MPSAFE flag for any interrupt handlers that
midi uses.

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

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?XFMail.010226105052.jhb>