From: "Michael S. Tsirkin" <mst@redhat.com>
To: Avi Kivity <avi@redhat.com>
Cc: Gregory Haskins <ghaskins@novell.com>,
kvm@vger.kernel.org, linux-kernel@vger.kernel.org,
davidel@xmailserver.org
Subject: Re: [KVM PATCH v7 0/5] irqfd fixes and enhancements
Date: Wed, 1 Jul 2009 12:03:54 +0300 [thread overview]
Message-ID: <20090701090354.GA14046@redhat.com> (raw)
In-Reply-To: <4A4B2406.2020901@redhat.com>
On Wed, Jul 01, 2009 at 11:53:26AM +0300, Avi Kivity wrote:
> On 06/29/2009 09:28 PM, Gregory Haskins wrote:
>> (Applies to kvm.git/master:4631e094)
>>
>> The following is the latest attempt to fix the races in irqfd/eventfd, as
>> well as restore DEASSIGN support. For more details, please read the patch
>> headers. I've restored the slow-work variant of the logic as a separate
>> patch (5/5) so we can get a better idea of the true difference between
>> the workqueue approach and the slow-work style. I am personally in favor
>> of the slow-work approach since it doesnt require a mostly-idle+dedicated
>> thread to hang around. But that is just me. 5/5 can be ignored, folded
>> in to 3/5+4/5 as appropriate, or merged as is per the whim of Avi et. al.
>>
>
> I think a good compromise would be to create the workqueue when the
> first VM is launched.
>
>> As always, this series has been tested against the kvm-eventfd unit test
>> with both 5/5 applied and unapplied, and everything appears to be
>> functioning properly. You can download this test here:
>>
>> ftp://ftp.novell.com/dev/ghaskins/kvm-eventfd.tar.bz2
>>
>> I've included version 4 of Davide's eventfd patch (ported to kvm.git) so
>> that its a complete reviewable series. Note, however, that there may be
>> later versions of his patch to consider for merging, so we should
>> coordinate with him.
>>
>
> Davide's patch was merged upstream. Please take a look to make sure
> this patchset is compatible with what was merged.
>
> Patchset looks good to me, but I'd appreciate an ack from Michael (or
> anyone else who's interested).
For patches 1,3,4:
Acked-by: Michael S. Tsirkin <mst@redhat.com>
As for 5: IMHO, let's keep it simple meanwhile.
--
MST
prev parent reply other threads:[~2009-07-01 9:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-29 18:28 [KVM PATCH v7 0/5] irqfd fixes and enhancements Gregory Haskins
2009-06-29 18:29 ` [KVM PATCH v7 1/5] kvm: prepare irqfd for having interrupts disabled during eventfd->release Gregory Haskins
2009-06-29 18:29 ` [KVM PATCH v7 2/5] eventfd - revised interface and cleanups (4th rev) Gregory Haskins
2009-06-29 18:29 ` [KVM PATCH v7 3/5] KVM: Fix races in irqfd using new eventfd_kref_get interface Gregory Haskins
2009-06-29 18:29 ` [KVM PATCH v7 4/5] KVM: add irqfd DEASSIGN feature Gregory Haskins
2009-06-29 18:29 ` [KVM PATCH v7 5/5] KVM: Make irqfd use slow-work for shutdown Gregory Haskins
2009-07-01 8:53 ` [KVM PATCH v7 0/5] irqfd fixes and enhancements Avi Kivity
2009-07-01 9:03 ` Michael S. Tsirkin [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=20090701090354.GA14046@redhat.com \
--to=mst@redhat.com \
--cc=avi@redhat.com \
--cc=davidel@xmailserver.org \
--cc=ghaskins@novell.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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.