lkml.org 
[lkml]   [2021]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCHV2 0/3] kvm: x86: make PTE_PREFETCH_NUM tunable
Date
This series adds new IOCTL which make it possible to tune
PTE_PREFETCH_NUM value on per-VM basis.

v2:
- added ioctl (previously was sysfs param) [David]
- preallocate prefetch buffers [David]
- converted arch/x86/kvm/mmu/paging_tmpl.h [David]

Sergey Senozhatsky (3):
KVM: x86: introduce kvm_mmu_pte_prefetch structure
KVM: x86: use mmu_pte_prefetch for guest_walker
KVM: x86: add KVM_SET_MMU_PREFETCH ioctl

Documentation/virt/kvm/api.rst | 21 ++++++++++++
arch/x86/include/asm/kvm_host.h | 12 +++++++
arch/x86/kvm/mmu.h | 4 +++
arch/x86/kvm/mmu/mmu.c | 57 ++++++++++++++++++++++++++++++---
arch/x86/kvm/mmu/paging_tmpl.h | 39 +++++++++++++++-------
arch/x86/kvm/x86.c | 38 +++++++++++++++++++++-
include/uapi/linux/kvm.h | 4 +++
7 files changed, 158 insertions(+), 17 deletions(-)

--
2.33.0.1079.g6e70778dc9-goog

\
 
 \ /
  Last update: 2021-10-19 17:33    [W:0.072 / U:2.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site