[KVM PATCH v4 0/4] irqfd fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(Applies to kvm.git/master:4631e094)

The following is the latest attempt to fix the remaining races in
irqfd/eventfd.  For more details, please read the patch headers.

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 2 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.

Note also that I potentially found an issue in slow_work which I
subsequently fixed, so I have cc'd David Howells.  It is needed to close
some of the remaining issues.

-Greg

---

Davide Libenzi (1):
      eventfd - revised interface and cleanups (2nd rev)

Gregory Haskins (3):
      KVM: Fix races in irqfd using new eventfd_kref_get interface
      slow-work: add (module*)work->owner to fix races with module clients
      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                 |  119 ++++++++++++++++++---
 include/linux/aio.h          |    4 -
 include/linux/eventfd.h      |   18 +--
 include/linux/kvm_host.h     |    7 +
 include/linux/slow-work.h    |    4 +
 init/Kconfig                 |    1 
 kernel/slow-work.c           |    5 +
 virt/kvm/Kconfig             |    1 
 virt/kvm/eventfd.c           |  234 ++++++++++++++++++++++++++++++++----------
 12 files changed, 312 insertions(+), 111 deletions(-)

-- 
Signature
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux