First patch refactors code and introduces a minor should-not-happen optimization. Second patch fixes the bug and improves handling of passed deadline timers. I still haven't looked at Amit's proposed optimization (not recomputing the value of hrtimer on rewrites) long enough to be able to sign it off, sorry. Radim Krčmář (2): KVM: x86: add apic_timer_expired() KVM: x86: fix deadline tsc interrupt injection arch/x86/kvm/lapic.c | 47 +++++++++++++++++++++++++---------------------- 1 file changed, 25 insertions(+), 22 deletions(-) -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html