From: Avi Kivity Subject: [PATCH 0/5] Optimize page table walk Date: Wed, 12 Sep 2012 15:15:27 +0300 Message-ID: <1347452132-31848-1-git-send-email-avi@redhat.com> Cc: kvm@vger.kernel.org, Xiao Guangrong To: Marcelo Tosatti Return-path: Received: from mx1.redhat.com ([209.132.183.28]:51477 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750786Ab2ILMPz (ORCPT ); Wed, 12 Sep 2012 08:15:55 -0400 Sender: kvm-owner@vger.kernel.org List-ID: The page table walk has gotten crufty over the years and is threatening to become even more crufty when SMAP is introduced. Clean it up (and optimize it) somewhat. Avi Kivity (5): KVM: MMU: Push clean gpte write protection out of gpte_access() KVM: MMU: Optimize gpte_access() slightly KVM: MMU: Move gpte_access() out of paging_tmpl.h KVM: MMU: Optimize pte permission checks KVM: MMU: Simplify walk_addr_generic() loop arch/x86/include/asm/kvm_host.h | 7 +++ arch/x86/kvm/mmu.c | 60 ++++++++++++++++++++++ arch/x86/kvm/mmu.h | 16 +----- arch/x86/kvm/paging_tmpl.h | 109 +++++++++++++--------------------------- arch/x86/kvm/x86.c | 12 ++--- 5 files changed, 110 insertions(+), 94 deletions(-) -- 1.7.11.3