From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: [PATCH 0/7 v3] Rework of msrpm optimization and additional fixes for nested svm Date: Mon, 1 Mar 2010 15:34:33 +0100 Message-ID: <1267454080-2513-1-git-send-email-joerg.roedel@amd.com> Mime-Version: 1.0 Content-Type: text/plain Cc: Alexander Graf , kvm@vger.kernel.org, linux-kernel@vger.kernel.org To: Avi Kivity , Marcelo Tosatti Return-path: Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org Hi, this is the third round of the msrpm merge optimization patches for nested svm. The change to the previous post it the introduction of an direc_access_msrs list which contains all msrs that a guest might directly access. This list is used to initialize the msrpm bitmaps and the msrpm_offset table used for merging two tables. This optimization more than doubles the performance of kernel compiles in the nested guest using nested-shadow paging. The other random fixes in this set were not changed to the last version of this set. Patch 1/7 is new because it was forgotten in the last post. Thanks, Joerg Diffstat: arch/x86/kvm/svm.c | 259 +++++++++++++++++++++++++++++++++++++++------------- 1 files changed, 195 insertions(+), 64 deletions(-) Shortlog: Joerg Roedel (7): KVM: SVM: Return correct values in nested_svm_exit_handled_msr KVM: SVM: Move msrpm offset calculation to seperate function KVM: SVM: Introduce direct access msr list KVM: SVM: Optimize nested svm msrpm merging KVM: SVM: Use svm_msrpm_offset in nested_svm_exit_handled_msr KVM; SVM: Add correct handling of nested iopm KVM: SVM: Ignore lower 12 bit of nested msrpm_pa