[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/2] migration/ram.c: Remove the qemu_mutex_lock in colo_flus
Re: [PATCH 2/2] migration/ram.c: Remove the qemu_mutex_lock in colo_flush_ram_cache.
Wed, 10 Nov 2021 10:56:17 +0100
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
"Rao, Lei" <email@example.com> wrote:
> From: "Rao, Lei" <firstname.lastname@example.org>
> The code to acquire bitmap_mutex is added in the commit of
> "63268c4970a5f126cc9af75f3ccb8057abef5ec0". There is no
> need to acquire bitmap_mutex in colo_flush_ram_cache(). This
> is because the colo_flush_ram_cache only be called on the COLO
> secondary VM, which is the destination side.
> On the COLO secondary VM, only the COLO thread will touch
> the bitmap of ram cache.
> Signed-off-by: Lei Rao <email@example.com>
Reviewed-by: Juan Quintela <firstname.lastname@example.org>
As we are on the softfreeze, I am queuing this on my next-7.0 branch.