From: "Radim Krčmář" <rkrcmar@redhat.com>
To: Ignacio Alvarado <ikalvarado@google.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>,
kvm@vger.kernel.org, David Matlack <dmatlack@google.com>,
stable <stable@vger.kernel.org>
Subject: Re: [PATCH v2] KVM: Disable irq while unregistering user notifier
Date: Sat, 19 Nov 2016 20:35:49 +0100 [thread overview]
Message-ID: <20161119193548.GH26213@potion> (raw)
In-Reply-To: <d2a834b7-e1be-0308-c87a-f4c160a8c2be@redhat.com>
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 <ikalvarado@google.com>
>
> Cc: stable@vger.kernel.org
> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Applied to kvm/master, thanks.
prev parent reply other threads:[~2016-11-19 19:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-21 22:08 [PATCH] KVM: Disable irq while unregistering user notifier Ignacio Alvarado
2016-11-02 17:25 ` Paolo Bonzini
2016-11-03 22:26 ` Ignacio Alvarado
2016-11-04 9:48 ` Paolo Bonzini
2016-11-04 18:56 ` Ignacio Alvarado
2016-11-04 19:15 ` [PATCH v2] " Ignacio Alvarado
2016-11-17 12:42 ` Paolo Bonzini
2016-11-19 19:35 ` Radim Krčmář [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161119193548.GH26213@potion \
--to=rkrcmar@redhat.com \
--cc=dmatlack@google.com \
--cc=hpa@zytor.com \
--cc=ikalvarado@google.com \
--cc=kvm@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=pbonzini@redhat.com \
--cc=stable@vger.kernel.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.