summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2012-09-12 13:53:08 +0300
committerAvi Kivity <avi@redhat.com>2012-09-20 13:00:07 +0300
commitedc2ae84eb40a3c062210fe01af1cae1633cc810 (patch)
tree2e286495eef839146cb720429dae0cc98aa968bf /arch/x86/include/asm
parent8ea667f259e3767fd3ee85a885c14e417835695e (diff)
downloadlwn-edc2ae84eb40a3c062210fe01af1cae1633cc810.tar.gz
lwn-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 'arch/x86/include/asm')
0 files changed, 0 insertions, 0 deletions