Re: [Devel] [PATCH] kvm: x86: hyperv: avoid livelock in oneshot SynIC timers

2017-07-20 Thread Roman Kagan
On Thu, Jul 20, 2017 at 11:38:19AM +0300, Konstantin Khorenko wrote: > Need it in update 5? That's up to Den to decide. The livelock is only triggerable with one-shot SynIC timers; none of our regular guests uses them (Windows uses periodic timers, Linux does use one-shot timers but needs to be s

Re: [Devel] [PATCH] kvm: x86: hyperv: avoid livelock in oneshot SynIC timers

2017-07-20 Thread Konstantin Khorenko
Need it in update 5? Any bug id? -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 07/19/2017 08:31 PM, Roman Kagan wrote: If the SynIC timer message delivery fails due to SINT message slot being busy, there's no point to attempt starting the timer again until we're notified

[Devel] [PATCH] kvm: x86: hyperv: avoid livelock in oneshot SynIC timers

2017-07-19 Thread Roman Kagan
If the SynIC timer message delivery fails due to SINT message slot being busy, there's no point to attempt starting the timer again until we're notified of the slot being released by the guest (via EOM or EOI). Even worse, when a oneshot timer fails to deliver its message, its re-arming with an ex