From mboxrd@z Thu Jan 1 00:00:00 1970 From: ehrhardt@linux.vnet.ibm.com Subject: [PATCH 0/3] kvm-s390: revised version of kvm-s390 guest memory handling Date: Wed, 20 May 2009 15:34:54 +0200 Message-ID: <1242826497-6797-1-git-send-email-ehrhardt@linux.vnet.ibm.com> Cc: ehrhardt@linux.vnet.ibm.com, borntraeger@de.ibm.com, cotte@de.ibm.com, heiko.carstens@de.ibm.com, schwidefsky@de.ibm.com To: kvm@vger.kernel.org, avi@redhat.com Return-path: Received: from mtagate1.uk.ibm.com ([194.196.100.161]:56758 "EHLO mtagate1.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753412AbZETNfB (ORCPT ); Wed, 20 May 2009 09:35:01 -0400 Received: from d06nrmr1407.portsmouth.uk.ibm.com (d06nrmr1407.portsmouth.uk.ibm.com [9.149.38.185]) by mtagate1.uk.ibm.com (8.13.1/8.13.1) with ESMTP id n4KDYwds025571 for ; Wed, 20 May 2009 13:34:58 GMT Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by d06nrmr1407.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n4KDYwIa1827016 for ; Wed, 20 May 2009 14:34:58 +0100 Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n4KDYvrN008470 for ; Wed, 20 May 2009 14:34:58 +0100 Sender: kvm-owner@vger.kernel.org List-ID: From: Christian Ehrhardt 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(-)