[KVM-RFC PATCH 0/2] irqfd: use POLLHUP notification for close()

Gregory Haskins
2009-06-02T15:15:39Z

(Applies to kvm.git/master:25deed73)

Please see the header for 2/2 for a description. This patch series has
been fully tested and appears to be working correctly. I have it as an RFC
for now because it needs Davide's official submission/SOB for patch 1/2, and
it should get some eyeballs/acks on my SRCU usage before going in.

I will submit the updated irqfd userspace which eschews the deassign() verb
since we can now just use the close(fd) method alone. I will also address
the userspace review comments from Avi.

---

Davide Libenzi (1):
eventfd: send POLLHUP on f_ops->release

Gregory Haskins (1):
kvm: use POLLHUP to close an irqfd instead of an explicit ioctl

fs/eventfd.c | 10 +++
include/linux/kvm.h | 2 -
virt/kvm/eventfd.c | 177 +++++++++++++++++++++++----------------------------
virt/kvm/kvm_main.c | 3 +
4 files changed, 90 insertions(+), 102 deletions(-)

--
Signature