[PATCH 0/3] vhost: simplify use of eventfds

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

 



This series updates some of the vhost ioctls to grab a reference to just
the eventfd_ctx instead of to both the eventfd_ctx and eventfd file,
since only the eventfd_ctx is needed.  This simplifies the code and
eliminates all but one user of eventfd_fget().

Eric Biggers (3):
  vhost: don't hold onto file pointer for VHOST_SET_VRING_CALL
  vhost: don't hold onto file pointer for VHOST_SET_VRING_ERR
  vhost: don't hold onto file pointer for VHOST_SET_LOG_FD

 drivers/vhost/vhost.c | 62 ++++++++++++---------------------------------------
 drivers/vhost/vhost.h |  3 ---
 2 files changed, 14 insertions(+), 51 deletions(-)

-- 
2.15.1




[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