stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
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.

      reply	other threads:[~2016-11-19 19:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CACXrx53vkO=HKfwWwk+fVpvxcNjPrYmtDZ10qWxFvVX_PTGp3g@mail.gmail.com>
     [not found] ` <1478286955-108360-1-git-send-email-ikalvarado@google.com>
2016-11-17 12:42   ` [PATCH v2] KVM: Disable irq while unregistering user notifier 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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).