From owner-cvs-src@FreeBSD.ORG Sat Feb 28 11:47:03 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0DF2A16A4CE; Sat, 28 Feb 2004 11:47:03 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3F0143D1D; Sat, 28 Feb 2004 11:47:02 -0800 (PST) (envelope-from truckman@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i1SJl2Ge011090; Sat, 28 Feb 2004 11:47:02 -0800 (PST) (envelope-from truckman@repoman.freebsd.org) Received: (from truckman@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i1SJl2e1011089; Sat, 28 Feb 2004 11:47:02 -0800 (PST) (envelope-from truckman) Message-Id: <200402281947.i1SJl2e1011089@repoman.freebsd.org> From: Don Lewis Date: Sat, 28 Feb 2004 11:47:02 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/sound/pcm channel.c channel.h sound.c sound.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2004 19:47:03 -0000 truckman 2004/02/28 11:47:02 PST FreeBSD src repository Modified files: sys/dev/sound/pcm channel.c channel.h sound.c sound.h Log: Create a new mutex type for virtual channels. This allows us to get rid of the MTX_DUPOK flag on channel mutexes, which allows witness to do a better job of lock order checking. Nuke snd_chnmtxcreate() since it is no longer needed. Tested by: matk Revision Changes Path 1.97 +17 -7 src/sys/dev/sound/pcm/channel.c 1.30 +1 -1 src/sys/dev/sound/pcm/channel.h 1.90 +6 -20 src/sys/dev/sound/pcm/sound.c 1.56 +0 -1 src/sys/dev/sound/pcm/sound.h