Re: [PATCH 0/6] KVM: Clean up and optimize set_memory_region() - part2

Gleb Natapov
2013-02-27T16:24:44Z

On Wed, Feb 27, 2013 at 07:41:03PM +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.
>
I do not quite sure what you want me to do. Why can't this wait for
3.10?

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

--
Gleb.