LWN.net Logo

KVM/ARM Huge pages support

From:  Christoffer Dall <christoffer.dall@linaro.org>
To:  kvmarm@lists.cs.columbia.edu
Subject:  [PATCH 0/3] KVM/ARM Huge pages support
Date:  Thu, 8 Aug 2013 21:07:16 -0700
Message-ID:  <1376021239-10532-1-git-send-email-christoffer.dall@linaro.org>
Cc:  kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linaro-kernel@lists.linaro.org, patches@linaro.org, Christoffer Dall <christoffer.dall@linaro.org>
Archive-link:  Article, Thread

This small series adds support for Transparent Huge Pages and hugetlbfs
pages for KVM on the arm and arm64 architectures.

Measurements have shown that using huge pages in for stage-2 mappings
provides up to more than 15% performance increase for some workloads.

The patch series applies to kvm/next, but depends on the patch sent
earlier:

"ARM: KVM: Fix unaligned unmap_range leak"

Christoffer Dall (3):
  KVM: Move gfn_to_index to x86 specific code
  KVM: ARM: Get rid of KVM_HPAGE_XXX defines
  KVM: ARM: Transparent huge pages and hugetlbfs support

 arch/arm/include/asm/kvm_host.h  |    5 -
 arch/arm/include/asm/kvm_mmu.h   |   17 +++-
 arch/arm/kvm/mmu.c               |  200 ++++++++++++++++++++++++++++++++------
 arch/arm64/include/asm/kvm_mmu.h |   12 ++-
 arch/x86/include/asm/kvm_host.h  |    7 ++
 include/linux/kvm_host.h         |    7 --
 6 files changed, 201 insertions(+), 47 deletions(-)

-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds