[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>
signature.asc
Description: PGP signature
- [Qemu-devel] [RFC PATCH resend 00/11] Make CoMutex/CoQueue/CoRwlock thread-safe, Paolo Bonzini, 2016/04/15
- [Qemu-devel] [PATCH 03/11] coroutine: delete qemu_co_enter_next, Paolo Bonzini, 2016/04/15
- [Qemu-devel] [PATCH 01/11] coroutine: use QSIMPLEQ instead of QTAILQ, Paolo Bonzini, 2016/04/15
- Re: [Qemu-devel] [PATCH 01/11] coroutine: use QSIMPLEQ instead of QTAILQ,
Stefan Hajnoczi <=
- [Qemu-devel] [PATCH 05/11] coroutine-lock: reschedule coroutine on the AioContext it was running on, Paolo Bonzini, 2016/04/15
- [Qemu-devel] [PATCH 06/11] coroutine-lock: make CoMutex thread-safe, Paolo Bonzini, 2016/04/15
- [Qemu-devel] [PATCH 02/11] throttle-groups: restart throttled requests from coroutine context, Paolo Bonzini, 2016/04/15
- [Qemu-devel] [PATCH 04/11] aio: introduce aio_co_schedule, Paolo Bonzini, 2016/04/15
- [Qemu-devel] [PATCH 07/11] coroutine-lock: add limited spinning to CoMutex, Paolo Bonzini, 2016/04/15
- [Qemu-devel] [PATCH 10/11] coroutine-lock: add mutex argument to CoQueue APIs, Paolo Bonzini, 2016/04/15