qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH for 2.1 0/4] AioContext cleanups and optimizations


From: Paolo Bonzini
Subject: [Qemu-devel] [PATCH for 2.1 0/4] AioContext cleanups and optimizations
Date: Mon, 7 Jul 2014 15:18:00 +0200

These patches do some cleanup and optimization in AioContext land.

The first two drop AIO functions that operate on the main AioContext.
These are not needed anymore now that each BlockDriverState explicitly
operates on its own AioContext.  They are independent, and can be
skipped if the maintainers prefer doing so or have comments.

Patch 3 is a testsuite change for the aio_notify optimization, and
patch 4 is the aio_notify patch, now with a better comment
about the smp_mb optimization.

Paolo Bonzini (4):
  block: prefer aio_poll to qemu_aio_wait
  block: drop aio functions that operate on the main AioContext
  test-aio: fix GSource-based timer test
  AioContext: speed up aio_notify

 aio-posix.c               |  38 +++++++++++++++--
 aio-win32.c               |   6 +--
 async.c                   |  19 ++++++++-
 block.c                   |   2 +-
 blockjob.c                |   2 +-
 docs/aio_notify.promela   | 104 ++++++++++++++++++++++++++++++++++++++++++++++
 include/block/aio.h       |  26 +++++-------
 include/block/blockjob.h  |   4 +-
 include/block/coroutine.h |   2 +-
 main-loop.c               |  21 ----------
 qemu-io-cmds.c            |   4 +-
 tests/test-aio.c          |  13 +++---
 tests/test-thread-pool.c  |   4 +-
 13 files changed, 186 insertions(+), 59 deletions(-)
 create mode 100644 docs/aio_notify.promela

-- 
1.8.3.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]