Date: Fri, 16 Mar 2007 17:13:12 +0000 (UTC) From: Ariff Abdullah <ariff@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/sound/pcm sndstat.c Message-ID: <200703161713.l2GHDCQi064695@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ariff 2007-03-16 17:13:12 UTC
FreeBSD src repository
Modified files:
sys/dev/sound/pcm sndstat.c
Log:
[stage: 1/9]
- Convert sx lock to plain mutex. Since the access of /dev/sndstat
is pretty much exclusive and protected by toggling sndstat_isopen,
plain mutex is more than enough.
- Enable SBUF_AUTOEXTEND to avoid buffer truncation.
Revision Changes Path
1.25 +46 -34 src/sys/dev/sound/pcm/sndstat.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703161713.l2GHDCQi064695>
