qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 0/5] Spread the use of QEMU threading & locking


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 0/5] Spread the use of QEMU threading & locking API
Date: Wed, 04 Apr 2012 17:18:22 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1

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(-)
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]