From: Gregory Haskins <ghaskins@novell.com>
To: kvm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, mst@redhat.com, avi@redhat.com,
davidel@xmailserver.org
Subject: Re: [KVM PATCH v6 0/4] irqfd fixes and enhancements
Date: Mon, 29 Jun 2009 11:46:13 -0400 [thread overview]
Message-ID: <4A48E1C5.5040608@novell.com> (raw)
In-Reply-To: <20090629153627.31959.76947.stgit@dev.haskins.net>
[-- Attachment #1: Type: text/plain, Size: 2696 bytes --]
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.
>
> You can also find this applied as a git tree:
>
> git pull git://git.kernel.org/pub/scm/linux/kernel/git/ghaskins/linux-2.6-hacks.git kvm/irqfd
>
> For reviewing convenience, here is a link to the entire virt/kvm/eventfd.c
> file after the patches are applied:
>
> http://git.kernel.org/?p=linux/kernel/git/ghaskins/linux-2.6-hacks.git;a=blob;f=virt/kvm/eventfd.c;h=409d9e160f1f85618a5e3772937b2721a249399a;hb=85cfd57e33dcaea29971513334ca003764653b21
>
> As always, this series has been tested against the kvm-eventfd unit test, and
> 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.
>
> -Greg
>
>
> [Changelog:
>
> v6:
> *) Removed slow-work in favor of using a dedicated single-thread
> workqueue.
> *) Condensed cleanup path to always use deferred shutdown
> *) Saved about 56 lines over v5, with the following diffstat:
>
> include/linux/kvm_host.h | 2
> virt/kvm/eventfd.c | 248 ++++++++++++++++++-----------------------------
> 2 files changed, 97 insertions(+), 153 deletions(-)
>
Forgot another change:
*) Fixed race in ASSIGN for the proper
acquisition order of the irqfd->eventfd
> v5:
> Untracked..
> ]
>
> ---
>
> Davide Libenzi (1):
> eventfd - revised interface and cleanups (4th rev)
>
> Gregory Haskins (3):
> KVM: add irqfd DEASSIGN feature
> KVM: Fix races in irqfd using new eventfd_kref_get interface
> kvm: prepare irqfd for having interrupts disabled during eventfd->release
>
>
> drivers/lguest/lg.h | 2
> drivers/lguest/lguest_user.c | 4 -
> fs/aio.c | 24 +---
> fs/eventfd.c | 126 ++++++++++++++++++++---
> include/linux/aio.h | 4 -
> include/linux/eventfd.h | 35 +++++-
> include/linux/kvm.h | 2
> include/linux/kvm_host.h | 5 +
> virt/kvm/Kconfig | 1
> virt/kvm/eventfd.c | 229 +++++++++++++++++++++++++++++++-----------
> 10 files changed, 321 insertions(+), 111 deletions(-)
>
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 266 bytes --]
prev parent reply other threads:[~2009-06-29 15:46 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-29 15:43 [KVM PATCH v6 0/4] irqfd fixes and enhancements Gregory Haskins
2009-06-29 15:44 ` [KVM PATCH v6 1/4] kvm: prepare irqfd for having interrupts disabled during eventfd->release Gregory Haskins
2009-06-29 15:44 ` [KVM PATCH v6 2/4] eventfd - revised interface and cleanups (4th rev) Gregory Haskins
2009-06-29 15:44 ` [KVM PATCH v6 3/4] KVM: Fix races in irqfd using new eventfd_kref_get interface Gregory Haskins
2009-06-29 16:11 ` Michael S. Tsirkin
2009-06-29 16:52 ` Gregory Haskins
2009-06-29 17:32 ` Michael S. Tsirkin
2009-07-01 9:44 ` Avi Kivity
2009-06-29 15:44 ` [KVM PATCH v6 4/4] KVM: add irqfd DEASSIGN feature Gregory Haskins
2009-06-29 16:16 ` Michael S. Tsirkin
2009-06-29 15:46 ` Gregory Haskins [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=4A48E1C5.5040608@novell.com \
--to=ghaskins@novell.com \
--cc=avi@redhat.com \
--cc=davidel@xmailserver.org \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mst@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