From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40184) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y0llL-0003VH-1x for qemu-devel@nongnu.org; Tue, 16 Dec 2014 01:37:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y0llE-0001BP-PA for qemu-devel@nongnu.org; Tue, 16 Dec 2014 01:37:39 -0500 Received: from mx1.redhat.com ([209.132.183.28]:56899) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y0llE-0001Av-H2 for qemu-devel@nongnu.org; Tue, 16 Dec 2014 01:37:32 -0500 Message-ID: <1418711845.9400.6.camel@nilsson.home.kraxel.org> From: Gerd Hoffmann Date: Tue, 16 Dec 2014 07:37:25 +0100 In-Reply-To: References: <87fvchffgo.fsf@blackfin.pond.sub.org> <1418635433.9400.5.camel@nilsson.home.kraxel.org> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] paaudio race condition on close List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Markus Armbruster , QEMU Developers On Mo, 2014-12-15 at 15:37 +0000, Peter Maydell wrote: > On 15 December 2014 at 09:23, Gerd Hoffmann wrote: > > >> > Does anybody know how this is supposed to work? Is the fix as > >> > simple as just moving the free_resources call below the fini? > > > > I suspect the code simply wasn't written with threads in mind and the > > fix actually is that simple ... > > > > The submitted patch looks fine to me. > > Can I take that as a reviewed-by? :-) Sure. > > > Do you just commit it yourself? > > I don't have any other audio stuff pending atm. > > I'm happy to put it in via target-arm (the board where I > found this, musicpal, is an ARM one). Ok. cheers, Gerd