From owner-freebsd-bugs@FreeBSD.ORG Sun Aug 22 10:00:48 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A35316A4CE for ; Sun, 22 Aug 2004 10:00:48 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 608BC43D49 for ; Sun, 22 Aug 2004 10:00:48 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i7MA0l2a015701 for ; Sun, 22 Aug 2004 10:00:47 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7MA0lAC015700; Sun, 22 Aug 2004 10:00:47 GMT (envelope-from gnats) Date: Sun, 22 Aug 2004 10:00:47 GMT Message-Id: <200408221000.i7MA0lAC015700@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Jon Noack Subject: Re: kern/59349: patch to including locking for es137x sound driver X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jon Noack List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Aug 2004 10:00:48 -0000 The following reply was made to PR kern/59349; it has been noted by GNATS. From: Jon Noack To: freebsd-gnats-submit@FreeBSD.org, mat@cnd.mcgill.ca, julian@elischer.org Cc: Subject: Re: kern/59349: patch to including locking for es137x sound driver Date: Sun, 22 Aug 2004 04:56:51 -0500 I'm running a modified version of the patch from this PR (which includes the snd_mtxfree). Here's a link to the current version (note that this patch includes the changes for kern/68594 and also slightly cleans up the attach/detach cleanup order): http://www.noacks.org/freebsd/es137x.diff Works fine here. Don't know about 4BSD, but ULE is really struggling right now. While playing an mp3 on a relatively idle machine, the pcm interrupt rate is a steady 86/sec. Extracting the Firefox source while playing an mp3 (to simulate load) causes the pcm interrupt rate to fall and vary between 60-80/sec, causing all sorts of "excitement". Hopefully the PREEMPTION fixes will take care of all that nonsense. Note that this behavior is the same with/without this patch. Jon