qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 01/11] coroutine: use QSIMPLEQ instead of QTAILQ


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH 01/11] coroutine: use QSIMPLEQ instead of QTAILQ
Date: Tue, 19 Apr 2016 14:45:39 +0100
User-agent: Mutt/1.5.24 (2015-08-30)

On Fri, Apr 15, 2016 at 01:31:56PM +0200, Paolo Bonzini wrote:
> CoQueue do not need to remove any element but the head of the list;
> processing is always strictly FIFO.  Therefore, the simpler singly-linked
> QSIMPLEQ can be used instead.
> 
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
>  include/qemu/coroutine.h     |  2 +-
>  include/qemu/coroutine_int.h |  4 ++--
>  util/qemu-coroutine-lock.c   | 22 +++++++++++-----------
>  util/qemu-coroutine.c        |  2 +-
>  4 files changed, 15 insertions(+), 15 deletions(-)

Suitable as its own non-RFC patch.

Reviewed-by: Stefan Hajnoczi <address@hidden>

Attachment: signature.asc
Description: PGP signature


reply via email to

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