-
Paolo Bonzini authored
AioContext can be accessed recursively, in fact that's what we do with aio_poll. Marking the GSource as recursive avoids that GLib blocks it and unblocks it around every call to aio_dispatch, which is a pretty expensive operation. Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by:
Kevin Wolf <kwolf@redhat.com>Paolo Bonzini authoredAioContext can be accessed recursively, in fact that's what we do with aio_poll. Marking the GSource as recursive avoids that GLib blocks it and unblocks it around every call to aio_dispatch, which is a pretty expensive operation. Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by:
Kevin Wolf <kwolf@redhat.com>
Loading