Skip to content

vhost: cleanups and switching to sorted memory map

Igor Mammedov qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4vhost: codding style fix tab indentshw/virtio/vhost.c+2 -21 reply
2/4vhost: simplify/speedify vhost_dev_assign_memory()hw/virtio/vhost.c+76 -430 replies
3/4vhost: switch region lookup from linear to bsearchhw/virtio/vhost.c+5 -70 replies
4/4vhost: simplify/speedify vhost_dev_unassign_memory()hw/virtio/vhost.c+37 -740 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH for-2.5 0/4] vhost: cleanups and switching to sorted memory map

making memory map a sorted array helps to simplify and speed up lookup/insertion and deletion ops on it. It also makes insertion/deteletion code easier to read.

Igor Mammedov (4):
vhost: codding style fix tab indents
vhost: simplify/speedify vhost_dev_assign_memory()
vhost: switch region lookup from linear to bsearch
vhost: simplify/speedify vhost_dev_unassign_memory()

 hw/virtio/vhost.c | 252 ++++++++++++++++++++++++++----------------------------
 1 file changed, 123 insertions(+), 129 deletions(-)
Signature · 1 line
1.8.3.1