[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH 09/10] aio: push aio_context_acquire/release dow
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-block] [PATCH 09/10] aio: push aio_context_acquire/release down to dispatching |
Date: |
Wed, 30 Nov 2016 13:37:40 +0000 |
User-agent: |
Mutt/1.7.1 (2016-10-04) |
On Tue, Nov 29, 2016 at 12:47:06PM +0100, Paolo Bonzini wrote:
> The AioContext data structures are now protected by list_lock and/or
> they are walked with FOREACH_RCU primitives. There is no need anymore
> to acquire the AioContext for the entire duration of aio_dispatch.
> Instead, just acquire it before and after invoking the callbacks.
> The next step is then to push it further down.
>
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
> aio-posix.c | 15 ++++++---------
> aio-win32.c | 15 +++++++--------
> async.c | 2 ++
> 3 files changed, 15 insertions(+), 17 deletions(-)
Reviewed-by: Stefan Hajnoczi <address@hidden>
signature.asc
Description: PGP signature
- [Qemu-block] [PATCH 01/10] aio: rename bh_lock to list_lock, (continued)
- [Qemu-block] [PATCH 01/10] aio: rename bh_lock to list_lock, Paolo Bonzini, 2016/11/29
- [Qemu-block] [PATCH 03/10] aio: make ctx->list_lock a QemuLockCnt, subsuming ctx->walking_bh, Paolo Bonzini, 2016/11/29
- [Qemu-block] [PATCH 02/10] qemu-thread: introduce QemuLockCnt, Paolo Bonzini, 2016/11/29
- [Qemu-block] [PATCH 08/10] aio: document locking, Paolo Bonzini, 2016/11/29
- [Qemu-block] [PATCH 09/10] aio: push aio_context_acquire/release down to dispatching, Paolo Bonzini, 2016/11/29
- Re: [Qemu-block] [PATCH 09/10] aio: push aio_context_acquire/release down to dispatching,
Stefan Hajnoczi <=
- [Qemu-block] [PATCH 05/10] aio: tweak walking in dispatch phase, Paolo Bonzini, 2016/11/29
- [Qemu-block] [PATCH 10/10] async: optimize aio_bh_poll, Paolo Bonzini, 2016/11/29
- [Qemu-block] [PATCH 06/10] aio-posix: remove walking_handlers, protecting AioHandler list with list_lock, Paolo Bonzini, 2016/11/29
- [Qemu-block] [PATCH 04/10] qemu-thread: optimize QemuLockCnt with futexes on Linux, Paolo Bonzini, 2016/11/29
- [Qemu-block] [PATCH 07/10] aio-win32: remove walking_handlers, protecting AioHandler list with list_lock, Paolo Bonzini, 2016/11/29