migration: Make multifd_bytes atomic
authorJuan Quintela <quintela@redhat.com>
Wed, 23 Nov 2022 19:36:56 +0000 (20:36 +0100)
committerJuan Quintela <quintela@redhat.com>
Mon, 24 Apr 2023 09:28:57 +0000 (11:28 +0200)
commitcf671116facf4e29d91fce9c9ffb535385ffac81
treeaf737afd7422b308a97d495ff0104ecbbe43ce71
parent30fb22cda45bea43a3c0e26049ebdd71a9503ffd
migration: Make multifd_bytes atomic

In the spirit of:

commit 394d323bc3451e4d07f13341cb8817fac8dfbadd
Author: Peter Xu <peterx@redhat.com>
Date:   Tue Oct 11 17:55:51 2022 -0400

    migration: Use atomic ops properly for page accountings

Reviewed-by: David Edmondson <david.edmondson@oracle.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/migration.c
migration/multifd.c
migration/ram.h