diff options
author | Juan Quintela <quintela@redhat.com> | 2022-11-23 20:36:56 +0100 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2023-04-24 11:28:57 +0200 |
commit | cf671116facf4e29d91fce9c9ffb535385ffac81 (patch) | |
tree | af737afd7422b308a97d495ff0104ecbbe43ce71 /migration/ram.h | |
parent | 30fb22cda45bea43a3c0e26049ebdd71a9503ffd (diff) |
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>
Diffstat (limited to 'migration/ram.h')
-rw-r--r-- | migration/ram.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/ram.h b/migration/ram.h index 7c026b5242..ed70391317 100644 --- a/migration/ram.h +++ b/migration/ram.h @@ -46,7 +46,7 @@ typedef struct { uint64_t dirty_sync_missed_zero_copy; uint64_t downtime_bytes; Stat64 duplicate; - uint64_t multifd_bytes; + Stat64 multifd_bytes; Stat64 normal; Stat64 postcopy_bytes; int64_t postcopy_requests; |