diff options
| author | Zhang Chen | 2022-01-14 06:09:00 +0100 |
|---|---|---|
| committer | Jason Wang | 2022-02-14 04:50:44 +0100 |
| commit | a5f038e2c5e262ded63869a9e4bdf4951821e480 (patch) | |
| tree | 93f831f789b483f41937d37de8f637bd3626ff48 /plugins/loader.c | |
| parent | net: Fix uninitialized data usage (diff) | |
| download | qemu-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 'plugins/loader.c')
0 files changed, 0 insertions, 0 deletions
