From owner-freebsd-multimedia@FreeBSD.ORG Mon May 9 08:18:43 2005 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 064CE16A4E7 for ; Mon, 9 May 2005 08:18:43 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4065143D1D for ; Mon, 9 May 2005 08:18:40 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.21] (rat.samsco.home [192.168.254.21]) (authenticated bits=0) by pooker.samsco.org (8.13.3/8.13.3) with ESMTP id j498NcIG026780; Mon, 9 May 2005 02:23:38 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <427F1CA6.5010207@samsco.org> Date: Mon, 09 May 2005 02:17:42 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.5) Gecko/20050321 X-Accept-Language: en-us, en MIME-Version: 1.0 To: yongari@rndsoft.co.kr References: <20050509075416.GD915@rndsoft.co.kr> In-Reply-To: <20050509075416.GD915@rndsoft.co.kr> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on pooker.samsco.org cc: freebsd-multimedia@freebsd.org Subject: Re: maestro3 mpsafe patch X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2005 08:18:43 -0000 Pyun YongHyeon wrote: > Here is patch for mpsafe maestro3(4). > There is one known LOR in module unload. But the LOR complaint > message is misleading since it's not legal to grab sx lock while > holding mutex. I think the fix would be hard without cleaning up > many parts of audio subsystem. But the complaint would be harmless > if sndstat is not accessed during module unload. > > The patch was tested on an old notebook. Becasue the notebook is UP > machine I had no chance to run the patch on real SMP hardware. :( > The patch is available at: > http://people.freebsd.org/~yongari/maestro3.mpsafe.patch.0509 > > Feedbacks are welcome. I have an Allegro-1 PCI card that I can stick into an SMP machine. I'll give it a try next week when I return from BSDCan. Thanks a lot for looking at this! Scott