summaryrefslogtreecommitdiffstats
path: root/lib/prio_tree.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2011-07-28 11:36:17 +0300
committerAvi Kivity <avi@redhat.com>2011-09-25 19:18:01 +0300
commite4e517b4be019787ada4cbbce2f04570c21b0cbd (patch)
tree130dcb08868586e46ad6ad488dd4ba0e219f90c2 /lib/prio_tree.c
parentcf3ace79c065d65e9636f719a9df1382725410e3 (diff)
downloadop-kernel-dev-e4e517b4be019787ada4cbbce2f04570c21b0cbd.zip
op-kernel-dev-e4e517b4be019787ada4cbbce2f04570c21b0cbd.tar.gz
KVM: MMU: Do not unconditionally read PDPTE from guest memory
Architecturally, PDPTEs are cached in the PDPTRs when CR3 is reloaded. On SVM, it is not possible to implement this, but on VMX this is possible and was indeed implemented until nested SVM changed this to unconditionally read PDPTEs dynamically. This has noticable impact when running PAE guests. Fix by changing the MMU to read PDPTRs from the cache, falling back to reading from memory for the nested MMU. Signed-off-by: Avi Kivity <avi@redhat.com> Tested-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'lib/prio_tree.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud