All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] kvm-s390: revised version of kvm-s390 guest memory handling
@ 2009-05-20 13:34 ehrhardt
  2009-05-20 13:34 ` [PATCH 1/3] kvm-s390: infrastructure to kick vcpus out of guest state ehrhardt
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: ehrhardt @ 2009-05-20 13:34 UTC (permalink / raw)
  To: kvm, avi; +Cc: ehrhardt, borntraeger, cotte, heiko.carstens, schwidefsky

From: Christian Ehrhardt <ehrhardt@de.ibm.com>

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 |    9 ++---
 arch/s390/kvm/gaccess.h          |   23 +++++++-------
 arch/s390/kvm/intercept.c        |   18 +++++++----
 arch/s390/kvm/kvm-s390.c         |   57 ++++++++++++++-----------------------
 arch/s390/kvm/kvm-s390.h         |   32 ++++++++++++++++++++
 arch/s390/kvm/sigp.c             |   60 +++++++++++++++++++++++----------------
 6 files changed, 117 insertions(+), 82 deletions(-)

^ permalink raw reply	[flat|nested] 12+ messages in thread
* [PATCH 0/3] kvm-s390: revised version of kvm-s390 guest memory handling - v2
@ 2009-05-25 11:40 ehrhardt
  2009-05-25 11:40 ` [PATCH 2/3] kvm-s390: fix signal handling ehrhardt
  0 siblings, 1 reply; 12+ messages in thread
From: ehrhardt @ 2009-05-25 11:40 UTC (permalink / raw)
  To: kvm, avi; +Cc: ehrhardt, borntraeger, cotte, heiko.carstens, schwidefsky

From: Christian Ehrhardt <ehrhardt@de.ibm.com>

*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(-)

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

end of thread, other threads:[~2009-05-26 10:31 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-20 13:34 [PATCH 0/3] kvm-s390: revised version of kvm-s390 guest memory handling ehrhardt
2009-05-20 13:34 ` [PATCH 1/3] kvm-s390: infrastructure to kick vcpus out of guest state ehrhardt
2009-05-20 13:34 ` [PATCH 2/3] kvm-s390: fix signal handling ehrhardt
2009-05-20 13:34 ` [PATCH 3/3] kvm-s390: streamline memslot handling ehrhardt
2009-05-24 14:39   ` Avi Kivity
2009-05-25  8:33     ` Christian Ehrhardt
2009-05-25 11:40       ` Christian Ehrhardt
2009-05-26  7:57       ` Avi Kivity
2009-05-26  8:31         ` Christian Bornträger
2009-05-26  9:27           ` Avi Kivity
2009-05-26 10:31             ` Christian Ehrhardt
  -- strict thread matches above, loose matches on Subject: below --
2009-05-25 11:40 [PATCH 0/3] kvm-s390: revised version of kvm-s390 guest memory handling - v2 ehrhardt
2009-05-25 11:40 ` [PATCH 2/3] kvm-s390: fix signal handling ehrhardt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.