aboutsummaryrefslogtreecommitdiff
path: root/softmmu/meson.build
diff options
context:
space:
mode:
authorHyman Huang(黄勇) <huangy81@chinatelecom.cn>2022-06-26 01:38:33 +0800
committerDr. David Alan Gilbert <dgilbert@redhat.com>2022-07-20 12:15:08 +0100
commitcc2b33eab03710ae9dcb3ff68e8fcc634d1e9ad2 (patch)
tree0b4029a1cfe60ac541e2791032e7777daeae5fc7 /softmmu/meson.build
parent8244166dec65eb295d09787021522d38171b06c7 (diff)
downloadqemu-cc2b33eab03710ae9dcb3ff68e8fcc634d1e9ad2.zip
qemu-cc2b33eab03710ae9dcb3ff68e8fcc634d1e9ad2.tar.gz
qemu-cc2b33eab03710ae9dcb3ff68e8fcc634d1e9ad2.tar.bz2
softmmu/dirtylimit: Implement vCPU dirtyrate calculation periodically
Introduce the third method GLOBAL_DIRTY_LIMIT of dirty tracking for calculate dirtyrate periodly for dirty page rate limit. Add dirtylimit.c to implement dirtyrate calculation periodly, which will be used for dirty page rate limit. Add dirtylimit.h to export util functions for dirty page rate limit implementation. Signed-off-by: Hyman Huang(黄勇) <huangy81@chinatelecom.cn> Reviewed-by: Peter Xu <peterx@redhat.com> Message-Id: <5d0d641bffcb9b1c4cc3e323b6dfecb36050d948.1656177590.git.huangy81@chinatelecom.cn> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'softmmu/meson.build')
-rw-r--r--softmmu/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/softmmu/meson.build b/softmmu/meson.build
index 8138248..3272af1 100644
--- a/softmmu/meson.build
+++ b/softmmu/meson.build
@@ -4,6 +4,7 @@ specific_ss.add(when: 'CONFIG_SOFTMMU', if_true: [files(
'memory.c',
'physmem.c',
'qtest.c',
+ 'dirtylimit.c',
)])
specific_ss.add(when: ['CONFIG_SOFTMMU', 'CONFIG_TCG'], if_true: [files(