From: Eric Biggers <ebiggers3@gmail.com>
To: linux-fsdevel@vger.kernel.org, Al Viro <viro@ZenIV.linux.org.uk>
Cc: kvm@vger.kernel.org, "Michael S . Tsirkin" <mst@redhat.com>,
Jason Wang <jasowang@redhat.com>,
Eric Biggers <ebiggers3@gmail.com>
Subject: [PATCH 0/3] vhost: simplify use of eventfds
Date: Sat, 6 Jan 2018 14:52:18 -0800 [thread overview]
Message-ID: <20180106225221.1965-1-ebiggers3@gmail.com> (raw)
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
next reply other threads:[~2018-01-06 22:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-06 22:52 Eric Biggers [this message]
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
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=20180106225221.1965-1-ebiggers3@gmail.com \
--to=ebiggers3@gmail.com \
--cc=jasowang@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=mst@redhat.com \
--cc=viro@ZenIV.linux.org.uk \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.