Re: [PATCH v2] COLO: Move some trace code behind qemu_mutex_unlock_iothread()

2021-12-14 Thread Juan Quintela
"Rao, Lei" wrote: > There is no need to put some trace code in the critical section. > So, moving it behind qemu_mutex_unlock_iothread() can reduce the > lock time. > > Signed-off-by: Lei Rao Reviewed-by: Juan Quintela queued for 7.0 > --- > migration/colo.c | 6 +++--- > 1 file changed, 3 i

[PATCH v2] COLO: Move some trace code behind qemu_mutex_unlock_iothread()

2021-12-13 Thread Rao, Lei
There is no need to put some trace code in the critical section. So, moving it behind qemu_mutex_unlock_iothread() can reduce the lock time. Signed-off-by: Lei Rao --- migration/colo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/migration/colo.c b/migration/colo.c i