[PATCH 0/3] kvm-s390: revised version of kvm-s390 guest memory handling - v2

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

 



From: Christian Ehrhardt <ehrhardt@xxxxxxxxxx>

*update in v2*
added optimization to patch 3/3 to skip (addtional) kickout of vcpu's that had
the request already set.

This patch series results from our discussions about handling memslots and vcpu
mmu reloads. It streamlines kvm-s390 a bit by using slots_lock, vcpu-request
(KVM_REQ_MMU_RELOAD) and a kick mechanism to ensure vcpus come out of guest
context to catch the update.

I tested the reworked code a while with multiple smp guests and some extra
code that periodically injects kicks and/or mmu reload requests, but I'm happy
about every additional review feedback.

Patches included:
Subject: [PATCH 1/3] kvm-s390: infrastructure to kick vcpus out of guest state
Subject: [PATCH 2/3] kvm-s390: fix signal handling
Subject: [PATCH 3/3] kvm-s390: streamline memslot handling

Overall-Diffstat:
 arch/s390/include/asm/kvm_host.h     |    4 --
 arch/s390/kvm/intercept.c            |    6 +--
 arch/s390/kvm/kvm-s390.c             |   54 +++++++++++----------------------
 arch/s390/kvm/kvm-s390.h             |   29 +++++++++++++++++-
 arch/s390/kvm/sigp.c                 |    4 +-
 kvm/arch/s390/include/asm/kvm_host.h |    5 +--
 kvm/arch/s390/kvm/gaccess.h          |   23 +++++++-------
 kvm/arch/s390/kvm/intercept.c        |   12 +++++--
 kvm/arch/s390/kvm/kvm-s390.c         |    5 +++
 kvm/arch/s390/kvm/kvm-s390.h         |    3 +
 kvm/arch/s390/kvm/sigp.c             |   56 +++++++++++++++++++++--------------
 11 files changed, 119 insertions(+), 82 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux