From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com ([209.132.183.28]:55294 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752821AbcKSTf5 (ORCPT ); Sat, 19 Nov 2016 14:35:57 -0500 Date: Sat, 19 Nov 2016 20:35:49 +0100 From: Radim =?utf-8?B?S3LEjW3DocWZ?= To: Ignacio Alvarado Cc: Paolo Bonzini , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , kvm@vger.kernel.org, David Matlack , stable Subject: Re: [PATCH v2] KVM: Disable irq while unregistering user notifier Message-ID: <20161119193548.GH26213@potion> References: <1478286955-108360-1-git-send-email-ikalvarado@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: stable-owner@vger.kernel.org List-ID: 2016-11-17 13:42+0100, Paolo Bonzini: > On 04/11/2016 20:15, Ignacio Alvarado wrote: >> 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 notifier. >> >> Signed-off-by: Ignacio Alvarado > > Cc: stable@vger.kernel.org > Reviewed-by: Paolo Bonzini Applied to kvm/master, thanks.