dirtylimit.c (9468484fe904ab4691de6d9c34616667f377ceac) dirtylimit.c (f3bff6c44304a21ea99eeed336672bd46ca102d5)
1/*
2 * Dirty page rate limit implementation code
3 *
4 * Copyright (c) 2022 CHINA TELECOM CO.,LTD.
5 *
6 * Authors:
7 * Hyman Huang(黄勇) <huangy81@chinatelecom.cn>
8 *

--- 12 unchanged lines hidden (view full) ---

21#include "monitor/monitor.h"
22#include "exec/memory.h"
23#include "exec/target_page.h"
24#include "hw/boards.h"
25#include "sysemu/kvm.h"
26#include "trace.h"
27#include "migration/misc.h"
28#include "migration/migration.h"
1/*
2 * Dirty page rate limit implementation code
3 *
4 * Copyright (c) 2022 CHINA TELECOM CO.,LTD.
5 *
6 * Authors:
7 * Hyman Huang(黄勇) <huangy81@chinatelecom.cn>
8 *

--- 12 unchanged lines hidden (view full) ---

21#include "monitor/monitor.h"
22#include "exec/memory.h"
23#include "exec/target_page.h"
24#include "hw/boards.h"
25#include "sysemu/kvm.h"
26#include "trace.h"
27#include "migration/misc.h"
28#include "migration/migration.h"
29#include "migration/options.h"
30
31/*
32 * Dirtylimit stop working if dirty page rate error
33 * value less than DIRTYLIMIT_TOLERANCE_RANGE
34 */
35#define DIRTYLIMIT_TOLERANCE_RANGE 25 /* MB/s */
36/*
37 * Plus or minus vcpu sleep time linearly if dirty

--- 645 unchanged lines hidden ---
29
30/*
31 * Dirtylimit stop working if dirty page rate error
32 * value less than DIRTYLIMIT_TOLERANCE_RANGE
33 */
34#define DIRTYLIMIT_TOLERANCE_RANGE 25 /* MB/s */
35/*
36 * Plus or minus vcpu sleep time linearly if dirty

--- 645 unchanged lines hidden ---