cloud-hypervisor/virtio-devices/src
Rob Bradford ce51755109 block_util: Avoid intermediate completion queue allocation
Rather than aggregate the completion list into an intermediate vector
instead adjust the API to provide one completion item at a time.

With DHAT this shows the number of heap allocations has decreased.

Before:

    dhat: Total:     623,852 bytes in 8,157 blocks

After:

    dhat: Total:     380,444 bytes in 3,469 blocks

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2023-01-10 17:30:25 +00:00
..
transport vm-migration: Don't store the id as part of Snapshot structure 2022-12-09 10:26:06 +01:00
vhost_user misc: Automatically fix cargo clippy issues added in 1.65 (stable) 2022-12-14 14:27:19 +00:00
vsock misc: Automatically fix cargo clippy issues added in 1.65 (stable) 2022-12-14 14:27:19 +00:00
balloon.rs vm-migration: Don't store the id as part of Snapshot structure 2022-12-09 10:26:06 +01:00
block.rs block_util: Avoid intermediate completion queue allocation 2023-01-10 17:30:25 +00:00
console.rs vm-migration: Don't store the id as part of Snapshot structure 2022-12-09 10:26:06 +01:00
device.rs virtio-net: net: Wait for threads to exit on Drop 2022-11-10 07:46:16 -08:00
epoll_helper.rs virtio-devices: modify or provide safety comments 2022-11-18 12:50:01 +00:00
iommu.rs misc: Automatically fix cargo clippy issues added in 1.65 (stable) 2022-12-14 14:27:19 +00:00
lib.rs misc: Remove #![allow(clippy::significant_drop_in_scrutinee)] 2022-12-07 17:50:48 +00:00
mem.rs misc: Automatically fix cargo clippy issues added in 1.65 (stable) 2022-12-14 14:27:19 +00:00
net.rs vm-migration: Don't store the id as part of Snapshot structure 2022-12-09 10:26:06 +01:00
pmem.rs vm-migration: Don't store the id as part of Snapshot structure 2022-12-09 10:26:06 +01:00
rng.rs vm-migration: Don't store the id as part of Snapshot structure 2022-12-09 10:26:06 +01:00
seccomp_filters.rs virtio-devices: seccomp: Move mprotect() to virtio common rules 2022-11-12 08:29:47 +00:00
thread_helper.rs virtio-devices: Shutdown VMM upon worker thread errors 2022-08-16 11:45:44 +01:00
vdpa.rs misc: Automatically fix cargo clippy issues added in 1.65 (stable) 2022-12-14 14:27:19 +00:00
watchdog.rs vm-migration: Don't store the id as part of Snapshot structure 2022-12-09 10:26:06 +01:00