All of lore.kernel.org
 help / color / mirror / Atom feed
From: ehrhardt@linux.vnet.ibm.com
To: kvm@vger.kernel.org, avi@redhat.com
Cc: ehrhardt@linux.vnet.ibm.com, borntraeger@de.ibm.com,
	cotte@de.ibm.com, heiko.carstens@de.ibm.com,
	schwidefsky@de.ibm.com
Subject: [PATCH 0/3] kvm-s390: revised version of kvm-s390 guest memory handling - v2
Date: Mon, 25 May 2009 13:40:48 +0200	[thread overview]
Message-ID: <1243251652-27617-1-git-send-email-ehrhardt@linux.vnet.ibm.com> (raw)

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

             reply	other threads:[~2009-05-25 11:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-25 11:40 ehrhardt [this message]
2009-05-25 11:40 ` [PATCH 1/3] kvm-s390: infrastructure to kick vcpus out of guest state ehrhardt
2009-05-25 20:22   ` Marcelo Tosatti
2009-05-26  8:02     ` Christian Ehrhardt
2009-05-28  3:44       ` Marcelo Tosatti
2009-05-28  7:59         ` Christian Ehrhardt
2009-05-28  8:42           ` Avi Kivity
2009-05-28 13:11             ` Christian Ehrhardt
2009-05-25 11:40 ` [PATCH 2/3] kvm-s390: fix signal handling ehrhardt
2009-05-25 11:40 ` [PATCH] kvm-s390: streamline memslot handling - v2 ehrhardt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1243251652-27617-1-git-send-email-ehrhardt@linux.vnet.ibm.com \
    --to=ehrhardt@linux.vnet.ibm.com \
    --cc=avi@redhat.com \
    --cc=borntraeger@de.ibm.com \
    --cc=cotte@de.ibm.com \
    --cc=heiko.carstens@de.ibm.com \
    --cc=kvm@vger.kernel.org \
    --cc=schwidefsky@de.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.