Date: Fri, 26 Jul 2002 12:43:16 -0400 From: "Brian F. Feldman" <green@FreeBSD.org> To: Josef Karthauser <joe@tao.org.uk> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/sound/pcm mixer.c sndstat.c sound.c Message-ID: <200207261643.g6QGhGJ66380@green.bikeshed.org> In-Reply-To: Your message of "Fri, 26 Jul 2002 17:15:14 BST." <20020726161514.GC40513@genius.tao.org.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
Josef Karthauser <joe@tao.org.uk> wrote: > On Wed, Jul 24, 2002 at 09:49:46PM -0700, Brian Feldman wrote: > > green 2002/07/24 21:49:45 PDT > > > > Modified files: > > sys/dev/sound/pcm mixer.c sndstat.c sound.c > > Log: > > Fix some of the places where sound(4) can sleep with a lock held. (Help > > courtesy of fenner). > > > > And the crowd goes wild - or at least can boot unattended again :). You know,I don't think this code in general really WANTS to use mutexes! The locks it's using are over entire huge code segments, and it would be quite a bit of work to converting it to only locking structures. I don't know that using sx locks alone would solve the possibility of deadlock that exists now in the initialization routine paths... -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org <> bfeldman@tislabs.com \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\ 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?200207261643.g6QGhGJ66380>