summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2012-09-12 12:53:08 +0200
committerAvi Kivity <avi@redhat.com>2012-09-20 12:00:07 +0200
commitedc2ae84eb40a3c062210fe01af1cae1633cc810 (patch)
tree2e286495eef839146cb720429dae0cc98aa968bf /mm
parentKVM: MMU: Push clean gpte write protection out of gpte_access() (diff)
downloadlinux-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