[PATCH][RFC] SVM: Add Support for Nested Paging in AMD Fam16 CPUs
- From: "Joerg Roedel" <joerg.roedel@xxxxxxx>
- Date: Fri, 25 Jan 2008 21:53:05 +0100
Hi,
here is the first release of patches for KVM to support the Nested Paging (NPT)
feature of AMD QuadCore CPUs for comments and public testing. This feature
improves the guest performance significantly. I measured an improvement of
around 17% using kernbench in my first tests.
This patch series is basically tested with Linux guests (32 bit legacy
paging, 32 bit PAE paging and 64 bit Long Mode). Also tested with Windows Vista
32 bit and 64 bit. All these guests ran successfully with these patches. The
patch series only enables NPT for 64 bit Linux hosts at the moment.
Please give these patches a good and deep testing. I hope we have this patchset
ready for merging soon.
Joerg
Here is the diffstat:
arch/x86/kvm/mmu.c | 81 +++++++++++++++++++++++++++++++++++---
arch/x86/kvm/mmu.h | 6 +++
arch/x86/kvm/svm.c | 94 +++++++++++++++++++++++++++++++++++++++++--
arch/x86/kvm/vmx.c | 7 +++
arch/x86/kvm/x86.c | 1 +
include/asm-x86/kvm_host.h | 4 ++
6 files changed, 182 insertions(+), 11 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [kvm-devel] [PATCH][RFC] SVM: Add Support for Nested Paging in AMD Fam16 CPUs
- From: Avi Kivity
- RE: [kvm-devel] [PATCH][RFC] SVM: Add Support for Nested Paging in AMD Fam16 CPUs
- From: Nakajima, Jun
- Re: [kvm-devel] [PATCH][RFC] SVM: Add Support for Nested Paging in AMD Fam16 CPUs
- From: Anthony Liguori
- [PATCH 4/8] X86: export information about NPT to generic x86 code
- From: Joerg Roedel
- [PATCH 6/8] X86: export the load_pdptrs() function to modules
- From: Joerg Roedel
- [PATCH 2/8] SVM: add detection of Nested Paging feature
- From: Joerg Roedel
- [PATCH 8/8] SVM: add support for Nested Paging
- From: Joerg Roedel
- [PATCH 5/8] MMU: make the __nonpaging_map function generic
- From: Joerg Roedel
- [PATCH 7/8] MMU: add HAP support to the KVM MMU
- From: Joerg Roedel
- [PATCH 1/8] SVM: move feature detection to hardware setup code
- From: Joerg Roedel
- [PATCH 3/8] SVM: add module parameter to disable Nested Paging
- From: Joerg Roedel
- Re: [kvm-devel] [PATCH][RFC] SVM: Add Support for Nested Paging in AMD Fam16 CPUs
- Prev by Date: Re: [patch 1/4] mmu_notifier: Core code
- Next by Date: Re: [patch 0/4] [RFC] MMU Notifiers V1
- Previous by thread: threshold_init_device/kobject_uevent_env oops
- Next by thread: [PATCH 3/8] SVM: add module parameter to disable Nested Paging
- Index(es):
Relevant Pages
|