From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cornelia Huck Subject: Re: [PATCH 0/6] KVM: Clean up and optimize set_memory_region() - part2 Date: Thu, 28 Feb 2013 10:48:42 +0100 Message-ID: <20130228104842.69d8a7c4@gondolin> References: <20130227194103.ce8a4bdc.yoshikawa_takuya_b1@lab.ntt.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: mtosatti@redhat.com, gleb@redhat.com, kvm@vger.kernel.org, agraf@suse.de, borntraeger@de.ibm.com, cdall@cs.columbia.edu To: Takuya Yoshikawa Return-path: Received: from e06smtp12.uk.ibm.com ([195.75.94.108]:33020 "EHLO e06smtp12.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750916Ab3B1Jsw (ORCPT ); Thu, 28 Feb 2013 04:48:52 -0500 Received: from /spool/local by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 28 Feb 2013 09:46:43 -0000 Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 5196E2190023 for ; Thu, 28 Feb 2013 09:50:08 +0000 (GMT) Received: from d06av12.portsmouth.uk.ibm.com (d06av12.portsmouth.uk.ibm.com [9.149.37.247]) by b06cxnps4076.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r1S9mc0v27066528 for ; Thu, 28 Feb 2013 09:48:38 GMT Received: from d06av12.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av12.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r1S9mjUm003999 for ; Thu, 28 Feb 2013 02:48:47 -0700 In-Reply-To: <20130227194103.ce8a4bdc.yoshikawa_takuya_b1@lab.ntt.co.jp> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, 27 Feb 2013 19:41:03 +0900 Takuya Yoshikawa wrote: > Note: this is based on the latest master branch. > > I'm sending this before 3.9-rc1 is released since this can cause extra > conflicts unless we make this available to all arch before we start > adding new stuff. > > Please review: every change is trivial and should not change anything. > > Takuya Yoshikawa (6): > KVM: set_memory_region: Drop user_alloc from prepare/commit_memory_region() > KVM: set_memory_region: Drop user_alloc from set_memory_region() > KVM: set_memory_region: Make kvm_mr_change available to arch code > KVM: set_memory_region: Refactor prepare_memory_region() > KVM: set_memory_region: Refactor commit_memory_region() > KVM: ARM: Remove kvm_arch_set_memory_region() > > arch/arm/kvm/arm.c | 15 ++---------- > arch/ia64/kvm/kvm-ia64.c | 25 ++------------------- > arch/powerpc/include/asm/kvm_ppc.h | 2 +- > arch/powerpc/kvm/book3s_hv.c | 4 +- > arch/powerpc/kvm/book3s_pr.c | 2 +- > arch/powerpc/kvm/booke.c | 2 +- > arch/powerpc/kvm/powerpc.c | 13 +++++------ > arch/s390/kvm/kvm-s390.c | 10 ++------ > arch/x86/kvm/vmx.c | 6 ++-- > arch/x86/kvm/x86.c | 25 +++++++++------------ > include/linux/kvm_host.h | 35 +++++++++++++++++++++--------- > virt/kvm/kvm_main.c | 40 ++++++++--------------------------- > 12 files changed, 67 insertions(+), 112 deletions(-) > Looks fine on s390. Tested-by: Cornelia Huck