diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2020-07-10 17:48:10 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-07-10 17:01:52 -0400 |
commit | 8c4182bd27cafc2b0f94564485c89ed366c1572c (patch) | |
tree | 4a1175a70e143b14d4c47a8ab90dd1cb1a8a3c78 /arch/x86/kvm/x86.c | |
parent | 1dbf5d68af6ffdb1c8b0d38ee565768e22e2c3ab (diff) | |
download | linux-stable-8c4182bd27cafc2b0f94564485c89ed366c1572c.tar.gz linux-stable-8c4182bd27cafc2b0f94564485c89ed366c1572c.tar.bz2 linux-stable-8c4182bd27cafc2b0f94564485c89ed366c1572c.zip |
KVM: VMX: optimize #PF injection when MAXPHYADDR does not match
Ignore non-present page faults, since those cannot have reserved
bits set.
When running access.flat with "-cpu Haswell,phys-bits=36", the
number of trapped page faults goes down from 8872644 to 3978948.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20200710154811.418214-9-mgamal@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/x86.c')
0 files changed, 0 insertions, 0 deletions