[PULL] vhost: infrastructure changes for 3.16
From: Michael S. Tsirkin
Date: Wed Jun 11 2014 - 09:44:46 EST
Hi Linus,
Please pull the following.
Please note this needs to be merged before merging
target-pending PULL which Nicholas will be sending
out shortly.
Thanks!
The following changes since commit 1860e379875dfe7271c649058aeddffe5afd9d0d:
Linux 3.15 (2014-06-08 11:19:54 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus
for you to fetch changes up to 47283bef7ed356629467d1fac61687756e48f254:
vhost: move memory pointer to VQs (2014-06-09 16:21:07 +0300)
----------------------------------------------------------------
vhost: infrastructure changes for 3.16
This reworks vhost core dropping unnecessary RCU uses in favor of VQ mutexes
which are used on fast path anyway. This fixes worst-case latency for users
which change the memory mappings a lot.
Memory allocation for vhost-net now supports fallback on vmalloc (same as for
vhost-scsi) this makes it possible to create the device on systems where memory
is very fragmented, with slightly lower performance.
Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx>
----------------------------------------------------------------
Michael S. Tsirkin (4):
vhost-net: extend device allocation to vmalloc
vhost: replace rcu with mutex
vhost: move acked_features to VQs
vhost: move memory pointer to VQs
drivers/vhost/vhost.h | 19 ++++------
drivers/vhost/net.c | 35 ++++++++++++-------
drivers/vhost/scsi.c | 26 ++++++++------
drivers/vhost/test.c | 11 +++---
drivers/vhost/vhost.c | 97 ++++++++++++++++++++++++++-------------------------
5 files changed, 101 insertions(+), 87 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/