aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/vhost/vhost.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2014-05-28 17:07:02 +0300
committerMichael S. Tsirkin <mst@redhat.com>2014-06-09 16:21:06 +0300
commit98f9ca0a3faa99b7388578d55eccecf272be4038 (patch)
tree991e7bc48ed0cb9da73aefe8cf454a54fcf96435 /drivers/vhost/vhost.h
parentvhost-net: extend device allocation to vmalloc (diff)
downloadlinux-dev-98f9ca0a3faa99b7388578d55eccecf272be4038.tar.xz
linux-dev-98f9ca0a3faa99b7388578d55eccecf272be4038.zip
vhost: replace rcu with mutex
All memory accesses are done under some VQ mutex. So lock/unlock all VQs is a faster equivalent of synchronize_rcu() for memory access changes. Some guests cause a lot of these changes, so it's helpful to make them faster. Reported-by: "Gonglei (Arei)" <arei.gonglei@huawei.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/vhost/vhost.h')
0 files changed, 0 insertions, 0 deletions