[PATCH v3 0/4] vHost IOTLB cache rework

David Marchand david.marchand at redhat.com
Mon Jul 25 22:32:02 CEST 2022


This series aim was initially to solve a scalability issue with the IOTLB
cache code. But along the way, I tried to make the code a bit more robust
by unifying how the device and virtqueue are passed around.


-- 
David Marchand

David Marchand (4):
  vhost: fix vq use after free on numa reallocation
  vhost: make numa reallocation code more robust
  vhost: keep a reference to virtqueue index
  vhost: stop using mempool for IOTLB cache

 lib/vhost/iotlb.c      | 105 +++++++++++++++-----------
 lib/vhost/iotlb.h      |   3 +-
 lib/vhost/vhost.c      |  74 +++++++-----------
 lib/vhost/vhost.h      |   7 +-
 lib/vhost/vhost_user.c | 167 +++++++++++++++++++----------------------
 lib/vhost/virtio_net.c |  86 ++++++++++-----------
 6 files changed, 212 insertions(+), 230 deletions(-)

-- 
2.36.1



More information about the dev mailing list