diff options
author | Avi Kivity <avi@redhat.com> | 2012-09-12 12:53:08 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-09-20 12:00:07 +0200 |
commit | edc2ae84eb40a3c062210fe01af1cae1633cc810 (patch) | |
tree | 2e286495eef839146cb720429dae0cc98aa968bf /mm | |
parent | KVM: MMU: Push clean gpte write protection out of gpte_access() (diff) | |
download | linux-edc2ae84eb40a3c062210fe01af1cae1633cc810.tar.xz linux-edc2ae84eb40a3c062210fe01af1cae1633cc810.zip |
KVM: MMU: Optimize gpte_access() slightly
If nx is disabled, then is gpte[63] is set we will hit a reserved
bit set fault before checking permissions; so we can ignore the
setting of efer.nxe.
Reviewed-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions