summaryrefslogtreecommitdiffstats
path: root/blockdev.c
diff options
context:
space:
mode:
authorZhang Chen2022-01-14 06:09:00 +0100
committerJason Wang2022-02-14 04:50:44 +0100
commita5f038e2c5e262ded63869a9e4bdf4951821e480 (patch)
tree93f831f789b483f41937d37de8f637bd3626ff48 /blockdev.c
parentnet: Fix uninitialized data usage (diff)
downloadqemu-a5f038e2c5e262ded63869a9e4bdf4951821e480.tar.gz
qemu-a5f038e2c5e262ded63869a9e4bdf4951821e480.tar.xz
qemu-a5f038e2c5e262ded63869a9e4bdf4951821e480.zip
net/colo-compare.c: Optimize compare order for performance
COLO-compare use the glib function g_queue_find_custom to dump another VM's networking packet to compare. But this function always start find from the queue->head(here is the newest packet), It will reduce the success rate of comparison. So this patch reversed the order of the queues for performance. Signed-off-by: Zhang Chen <chen.zhang@intel.com> Reported-by: leirao <lei.rao@intel.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions