commit | 6fd01b711bee96ce3356f7b6f370ab708e37504b | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Wed Sep 12 20:46:56 2012 +0300 |
committer | Avi Kivity <avi@redhat.com> | Thu Sep 20 13:00:09 2012 +0300 |
tree | c277c3daf5ba0ec856e582025cbc27ccab4e6ec9 | |
parent | 13d22b6aebb000aeaf137862c6c0e0c4d138d798 [diff] |
KVM: MMU: Optimize is_last_gpte() Instead of branchy code depending on level, gpte.ps, and mmu configuration, prepare everything in a bitmap during mode changes and look it up during runtime. Reviewed-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com>