]> git.ipfire.org Git - thirdparty/qemu.git/commit
softmmu/dirtylimit: Implement vCPU dirtyrate calculation periodically
authorHyman Huang(黄勇) <huangy81@chinatelecom.cn>
Sat, 25 Jun 2022 17:38:33 +0000 (01:38 +0800)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Wed, 20 Jul 2022 11:15:08 +0000 (12:15 +0100)
commitcc2b33eab03710ae9dcb3ff68e8fcc634d1e9ad2
tree0b4029a1cfe60ac541e2791032e7777daeae5fc7
parent8244166dec65eb295d09787021522d38171b06c7
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>
include/exec/memory.h
include/sysemu/dirtylimit.h [new file with mode: 0644]
softmmu/dirtylimit.c [new file with mode: 0644]
softmmu/meson.build