From: Avi Kivity <avi@qumranet.com>
To: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Chris Wright <chrisw@redhat.com>, kvm@vger.kernel.org
Subject: Re: [patch 1/2] KVM: consolidate check for pending vcpu requests
Date: Sun, 08 Jun 2008 10:10:16 +0300 [thread overview]
Message-ID: <484B85D8.1080908@qumranet.com> (raw)
In-Reply-To: <20080606194010.897342530@localhost.localdomain>
Marcelo Tosatti wrote:
> A guest vcpu instance can be scheduled to a different physical CPU
> between the test for KVM_REQ_MIGRATE_TIMER and local_irq_disable().
>
> If that happens, the timer will only be migrated to the current pCPU on
> the next exit, meaning that guest LAPIC timer event can be delayed until
> a host interrupt is triggered.
>
> Fix it by cancelling guest entry if any vcpu request is pending.
>
Applied, thanks.
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2008-06-08 7:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-06 19:37 [patch 0/2] timer injection races Marcelo Tosatti
2008-06-06 19:37 ` [patch 1/2] KVM: consolidate check for pending vcpu requests Marcelo Tosatti
2008-06-08 7:10 ` Avi Kivity [this message]
2008-06-06 19:37 ` [patch 2/2] KVM: close timer injection race window in __vcpu_run Marcelo Tosatti
2008-06-08 7:17 ` Avi Kivity
2008-06-08 15:08 ` Marcelo Tosatti
2008-06-09 3:29 ` Marcelo Tosatti
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=484B85D8.1080908@qumranet.com \
--to=avi@qumranet.com \
--cc=chrisw@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=mtosatti@redhat.com \
/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