Optimize latency of TSC deadline emulation by skipping various KVM related checks when opssible. i.e. On VMExit for tsc deadline timer emulation, handle it and VMEnter immidiately without checking various kvm stuff when possible. The result can be measured by cyclic test in guest and ftracing local timer interrupt entry(irq_vectors:local_timer_exit). On local machine, average latency can be reduced by tens of microseconds. Isaku Yamahata (3): kvm/x86: remove KVM_REQ_PENDING_TIMER x86/kvm/vmx: opitmize tsc dealine timer emulation x86/kvm/vmx: module parameter to enable/disable fast exit handler arch/x86/kvm/lapic.c | 18 +---- arch/x86/kvm/lapic.h | 16 ++++ arch/x86/kvm/vmx.c | 157 +++++++++++++++++++++++++++++++++++++++ arch/x86/kvm/x86.c | 21 ++---- include/linux/kvm_host.h | 2 +- 5 files changed, 181 insertions(+), 33 deletions(-) -- 2.17.1