[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 09/16] aio: push aio_context_acquire/release dow
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH 09/16] aio: push aio_context_acquire/release down to dispatching |
Date: |
Wed, 18 Jan 2017 15:29:35 +0000 |
User-agent: |
Mutt/1.7.1 (2016-10-04) |
On Fri, Jan 13, 2017 at 02:17:24PM +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.
>
> Reviewed-by: Stefan Hajnoczi <address@hidden>
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
> aio-posix.c | 25 +++++++++++--------------
> aio-win32.c | 15 +++++++--------
> async.c | 2 ++
> 3 files changed, 20 insertions(+), 22 deletions(-)
Reviewed-by: Stefan Hajnoczi <address@hidden>
signature.asc
Description: PGP signature
- Re: [Qemu-devel] [PATCH 01/16] aio: introduce aio_co_schedule and aio_co_wake, (continued)
- [Qemu-devel] [PATCH 06/16] nbd: do not block on partial reply header reads, Paolo Bonzini, 2017/01/13
- [Qemu-devel] [PATCH 08/16] qed: introduce qed_aio_start_io and qed_aio_next_io_cb, Paolo Bonzini, 2017/01/13
- [Qemu-devel] [PATCH 09/16] aio: push aio_context_acquire/release down to dispatching, Paolo Bonzini, 2017/01/13
- Re: [Qemu-devel] [PATCH 09/16] aio: push aio_context_acquire/release down to dispatching,
Stefan Hajnoczi <=
- [Qemu-devel] [PATCH 15/16] async: remove unnecessary inc/dec pairs, Paolo Bonzini, 2017/01/13
- [Qemu-devel] [PATCH 13/16] block: explicitly acquire aiocontext in aio callbacks that need it, Paolo Bonzini, 2017/01/13
- [Qemu-devel] [PATCH 16/16] block: document fields protected by AioContext lock, Paolo Bonzini, 2017/01/13
- [Qemu-devel] [PATCH 10/16] block: explicitly acquire aiocontext in timers that need it, Paolo Bonzini, 2017/01/13