memory: introduce total_dirty_pages to stat dirty pages
commit4998a37e4bf2bc47f76775e6e6a0cd50bacfb16a
authorHyman Huang(黄勇) <huangy81@chinatelecom.cn>
Tue, 20 Jul 2021 15:19:16 +0000 (20 23:19 +0800)
committerJuan Quintela <quintela@redhat.com>
Mon, 1 Nov 2021 21:56:44 +0000 (1 22:56 +0100)
tree8fbbe5f9fa968b54bf63948034db6d7d46db6064
parent6fee3a1fd9ecde99c43e659cf8eb6c35c116d05e
memory: introduce total_dirty_pages to stat dirty pages

introduce global var total_dirty_pages to stat dirty pages
along with memory_global_dirty_log_sync.

Signed-off-by: Hyman Huang(黄勇) <huangy81@chinatelecom.cn>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
include/exec/ram_addr.h
migration/dirtyrate.c