From owner-cvs-all Sun Feb 23 12:49:48 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FE1937B401; Sun, 23 Feb 2003 12:49:46 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D31D43FA3; Sun, 23 Feb 2003 12:49:46 -0800 (PST) (envelope-from green@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h1NKnk0U006441; Sun, 23 Feb 2003 12:49:46 -0800 (PST) (envelope-from green@repoman.freebsd.org) Received: (from green@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h1NKnjwn006440; Sun, 23 Feb 2003 12:49:45 -0800 (PST) Message-Id: <200302232049.h1NKnjwn006440@repoman.freebsd.org> From: Brian Feldman Date: Sun, 23 Feb 2003 12:49:45 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/sound/pcm feeder.c feeder_fmt.c feeder_rate.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG green 2003/02/23 12:49:45 PST Modified files: sys/dev/sound/pcm feeder.c feeder_fmt.c feeder_rate.c Log: It seems that sound(4)'s feeder routines don't need to allocate memory without waiting, since they are called from a system-call context only. This appears to fix all sorts of problems with open("/dev/dsp", O_WRONLY) randomly returning ENXIO. Found by: cognet Revision Changes Path 1.28 +1 -1 src/sys/dev/sound/pcm/feeder.c 1.9 +6 -6 src/sys/dev/sound/pcm/feeder_fmt.c 1.8 +1 -4 src/sys/dev/sound/pcm/feeder_rate.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message