From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:47193) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SFRyq-00081S-W1 for qemu-devel@nongnu.org; Wed, 04 Apr 2012 11:18:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SFRyf-0000SI-6r for qemu-devel@nongnu.org; Wed, 04 Apr 2012 11:18:38 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55499) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SFRye-0000RD-VA for qemu-devel@nongnu.org; Wed, 04 Apr 2012 11:18:29 -0400 Message-ID: <4F7C663E.20200@redhat.com> Date: Wed, 04 Apr 2012 17:18:22 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 0/5] Spread the use of QEMU threading & locking API List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Kevin Wolf , Anthony Liguori , qemu-devel@nongnu.org Il 04/04/2012 17:08, Jan Kiszka ha scritto: > Refreshed versions of some cleanups I already sent last year. See > patches for details. Patches 1, 2 and 5 are fine. I had an alternative implementation using a counting semaphore instead of the condition variable (which would work on Windows too), but I can rebase later if ever. For patches 3 and 4, I'd rather use an EventNotifier... Paolo > The series also helps using different scheduling policies for QEMU > threads which includes hardening internal locks. > > Jan Kiszka (5): > Introduce qemu_cond_timedwait for POSIX > Switch POSIX compat AIO to QEMU abstractions > Use qemu_eventfd for POSIX AIO > Reorder POSIX compat AIO code > Switch compatfd to QEMU thread > > compatfd.c | 16 +---- > posix-aio-compat.c | 162 +++++++++++++++++---------------------------------- > qemu-thread-posix.c | 23 +++++++ > qemu-thread-posix.h | 5 ++ > 4 files changed, 84 insertions(+), 122 deletions(-) >