Re: [Devel] [PATCH 1/1] KVM: Disable irq while unregistering user notifier

2016-11-23 Thread Konstantin Khorenko
Please next time mention mainstream commit like: ms commit: 1650b4e ("KVM: Disable irq while unregistering user notifier") Thank you. -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 11/22/2016 12:09 PM, Evgeny Yakovlev wrote: From: Ignacio Alvarado Function user_notifi

[Devel] [PATCH 1/1] KVM: Disable irq while unregistering user notifier

2016-11-22 Thread Evgeny Yakovlev
From: Ignacio Alvarado Function user_notifier_unregister should be called only once for each registered user notifier. Function kvm_arch_hardware_disable can be executed from an IPI context which could cause a race condition with a VCPU returning to user mode and attempting to unregister the not