|
From: | Hans de Goede |
Subject: | Re: [Qemu-devel] [PATCH] main-loop: Don't lock starve io-threads when main_loop_tlg has pending events |
Date: | Wed, 09 Oct 2013 20:15:54 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 |
Hi, On 10/09/2013 08:03 PM, Hans de Goede wrote: <snip>
So I started looking for suspecious timers under audio/*.c and immediately found this in audio/audio.c : static void audio_reset_timer (AudioState *s) { if (audio_is_timer_needed ()) { timer_mod (s->ts, qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL) + 1); } else { timer_del (s->ts); } } static void audio_timer (void *opaque) { audio_run ("timer"); audio_reset_timer (opaque); } Note how that is using a timer which expires every freaking nano second, I think it is very likely that is the culprit.
Yep, this is the culprit, patch coming up. Regards, Hans
[Prev in Thread] | Current Thread | [Next in Thread] |