aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/mmu.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2008-06-22 09:22:51 -0400
committerAvi Kivity <avi@qumranet.com>2008-07-20 05:42:35 -0400
commit7a5b56dfd3a682a51fc84682290d5147872a8e99 (patch)
treef7b6f0e746df3c43ab8317d1c4b585334808e5fb /arch/x86/kvm/mmu.c
parent0adc8675d645940139d12477e5e05b8a0a7a1117 (diff)
KVM: x86 emulator: lazily evaluate segment registers
Instead of prefetching all segment bases before emulation, read them at the last moment. Since most of them are unneeded, we save some cycles on Intel machines where this is a bit expensive. Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'arch/x86/kvm/mmu.c')
0 files changed, 0 insertions, 0 deletions