On Fri, Jan 13, 2017 at 02:17:22PM +0100, Paolo Bonzini wrote: > As a small step towards the introduction of multiqueue, we want > coroutines to remain on the same AioContext that started them, > unless they are moved explicitly with e.g. aio_co_schedule. This patch > avoids that coroutines switch AioContext when they use a CoMutex. > For now it does not make much of a difference, because the CoMutex > is not thread-safe and the AioContext itself is used to protect the > CoMutex from concurrent access. However, this is going to change. > > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > --- > util/qemu-coroutine-lock.c | 5 ++--- > util/trace-events | 1 - > 2 files changed, 2 insertions(+), 4 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
signature.asc
Description: PGP signature