mbox series

[0/2] KVM: x86/mmu: Optimizations for kvm_get_mmu_page()

Message ID 20200623194027.23135-1-sean.j.christopherson@intel.com (mailing list archive)
Headers show
Series KVM: x86/mmu: Optimizations for kvm_get_mmu_page() | expand

Message

Sean Christopherson June 23, 2020, 7:40 p.m. UTC
Avoid multiple hash lookups in kvm_get_mmu_page(), and tweak the cache
loop to optimize it for TDP.

Sean Christopherson (2):
  KVM: x86/mmu: Avoid multiple hash lookups in kvm_get_mmu_page()
  KVM: x86/mmu: Optimize MMU page cache lookup for fully direct MMUs

 arch/x86/kvm/mmu/mmu.c | 26 ++++++++++++++++----------
 1 file changed, 16 insertions(+), 10 deletions(-)

Comments

Paolo Bonzini July 3, 2020, 5:17 p.m. UTC | #1
On 23/06/20 21:40, Sean Christopherson wrote:
> Avoid multiple hash lookups in kvm_get_mmu_page(), and tweak the cache
> loop to optimize it for TDP.
> 
> Sean Christopherson (2):
>   KVM: x86/mmu: Avoid multiple hash lookups in kvm_get_mmu_page()
>   KVM: x86/mmu: Optimize MMU page cache lookup for fully direct MMUs
> 
>  arch/x86/kvm/mmu/mmu.c | 26 ++++++++++++++++----------
>  1 file changed, 16 insertions(+), 10 deletions(-)
> 

Queued, thanks.

Paolo