aboutsummaryrefslogtreecommitdiff
path: root/migration/ram.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2023-04-11 18:19:05 +0200
committerJuan Quintela <quintela@redhat.com>2023-04-27 16:39:49 +0200
commit72f8e58707395d24c177ffa9f88a25329638fc98 (patch)
tree831490c8c51fc2039952f5ed3740addd543cbcfe /migration/ram.h
parent7757b55eedd5d571d0b0c5f570b01dc3ca910a62 (diff)
migration: Make dirty_pages_rate atomic
Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Peter Xu <peterx@redhat.com> --- Don't use __nocheck() variants Use stat64_get()
Diffstat (limited to 'migration/ram.h')
-rw-r--r--migration/ram.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/ram.h b/migration/ram.h
index a6e0d70226..f189cc79f8 100644
--- a/migration/ram.h
+++ b/migration/ram.h
@@ -41,7 +41,7 @@
* one thread).
*/
typedef struct {
- int64_t dirty_pages_rate;
+ Stat64 dirty_pages_rate;
Stat64 dirty_sync_count;
Stat64 dirty_sync_missed_zero_copy;
Stat64 downtime_bytes;