public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHv3 0/4] kvm: locking and API rework for iosignalfd
@ 2009-06-29 12:08 Michael S. Tsirkin
  2009-06-29 13:04 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Michael S. Tsirkin @ 2009-06-29 12:08 UTC (permalink / raw)
  To: Gregory Haskins, avi; +Cc: kvm, linux-kernel, avi, mtosatti, paulmck, markmc

This series switches kvm_io_device to slots_lock from kvm->lock mutex,
and uses that to rework io bus API. This takes less locks on data path,
and uses less lines of code. These changes will also be useful to serve
as basis for Greg's iosignalfd work.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---

I have split the patch and reworked along the lines suggested by Avi.
This works for me, but please review carefully.

Michael S. Tsirkin (4):
  kvm: document locking for kvm_io_device_ops
  kvm: switch coalesced mmio changes to slots_lock
  kvm: convert bus to slots_lock
  kvm: remove in_range from io devices

 arch/ia64/kvm/kvm-ia64.c  |   28 +++--------
 arch/x86/kvm/i8254.c      |   53 +++++++++++----------
 arch/x86/kvm/i8259.c      |   22 +++++----
 arch/x86/kvm/lapic.c      |   44 ++++++++----------
 arch/x86/kvm/x86.c        |  110 +++++++++++++--------------------------------
 include/linux/kvm_host.h  |    9 +++-
 virt/kvm/coalesced_mmio.c |   28 +++++------
 virt/kvm/ioapic.c         |   24 +++++-----
 virt/kvm/iodev.h          |   42 +++++++----------
 virt/kvm/kvm_main.c       |   31 ++++++++-----
 10 files changed, 171 insertions(+), 220 deletions(-)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-29 13:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-29 12:08 [PATCHv3 0/4] kvm: locking and API rework for iosignalfd Michael S. Tsirkin
2009-06-29 13:04 ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox