public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] vhost: simplify use of eventfds
@ 2018-01-06 22:52 Eric Biggers
  2018-01-06 22:52 ` [PATCH 1/3] vhost: don't hold onto file pointer for VHOST_SET_VRING_CALL Eric Biggers
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Eric Biggers @ 2018-01-06 22:52 UTC (permalink / raw)
  To: linux-fsdevel, Al Viro; +Cc: kvm, Michael S . Tsirkin, Jason Wang, Eric Biggers

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-01-09  3:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-06 22:52 [PATCH 0/3] vhost: simplify use of eventfds Eric Biggers
2018-01-06 22:52 ` [PATCH 1/3] vhost: don't hold onto file pointer for VHOST_SET_VRING_CALL Eric Biggers
2018-01-06 22:52 ` [PATCH 2/3] vhost: don't hold onto file pointer for VHOST_SET_VRING_ERR Eric Biggers
2018-01-06 22:52 ` [PATCH 3/3] vhost: don't hold onto file pointer for VHOST_SET_LOG_FD Eric Biggers
2018-01-09  3:20 ` [PATCH 0/3] vhost: simplify use of eventfds Jason Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox