From: Amos Kong <[email protected]> After testing with hugepages, memory is not released, it will cause the memory lack in host. This will make the host running extremely slow and will influence other tests to be executed.
Signed-off-by: Yiqiao Pu <[email protected]> Signed-off-by: Amos Kong <[email protected]> --- client/tests/kvm/tests_base.cfg.sample | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/client/tests/kvm/tests_base.cfg.sample b/client/tests/kvm/tests_base.cfg.sample index 7f59bfc..1ed5237 100644 --- a/client/tests/kvm/tests_base.cfg.sample +++ b/client/tests/kvm/tests_base.cfg.sample @@ -1452,6 +1452,7 @@ variants: - @smallpages: - hugepages: pre_command += " scripts/hugepage.py /mnt/kvm_hugepage;" + post_command += " echo 0 > /proc/sys/vm/nr_hugepages; umount /mnt/kvm_hugepage;" extra_params += " -mem-path /mnt/kvm_hugepage" -- 1.7.0.4 _______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
