summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/damon/Makefile
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2024-02-07 23:31:30 +0300
committerAndrew Morton <akpm@linux-foundation.org>2024-02-22 21:24:56 +0300
commit51f58c9da14b1680e352f28a16365803c125af6d (patch)
tree1754af3d7511b566a08cd53af7e7dacab0ac3b8f /tools/testing/selftests/damon/Makefile
parenta8622625bf645bc095cb4676d36ff12b53d5d0a4 (diff)
downloadlinux-51f58c9da14b1680e352f28a16365803c125af6d.tar.xz
selftests/damon: add a test for DAMOS quota
Add a selftest for verifying the DAMOS quota feature. The test is very similar to sysfs_update_schemes_tried_regions_wss_estimation.py. It starts an artificial workload of 20 MiB working set, run DAMON to find the working set size, but with 1 MiB/100 ms size quota. Then, it collect the DAMON-found working set size every 100 ms and check if the quota was always applied as expected. For the confirmation, the tests shows the stat-applied region size and the qt_exceeds stat. Link: https://lkml.kernel.org/r/20240207203134.69976-5-sj@kernel.org Signed-off-by: SeongJae Park <sj@kernel.org> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/testing/selftests/damon/Makefile')
-rw-r--r--tools/testing/selftests/damon/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/damon/Makefile b/tools/testing/selftests/damon/Makefile
index 8a1cc2bf1864..9c3783f1a39d 100644
--- a/tools/testing/selftests/damon/Makefile
+++ b/tools/testing/selftests/damon/Makefile
@@ -12,6 +12,7 @@ TEST_PROGS += debugfs_rm_non_contexts.sh
TEST_PROGS += sysfs.sh sysfs_update_removed_scheme_dir.sh
TEST_PROGS += sysfs_update_schemes_tried_regions_hang.py
TEST_PROGS += sysfs_update_schemes_tried_regions_wss_estimation.py
+TEST_PROGS += damos_quota.py
TEST_PROGS += reclaim.sh lru_sort.sh
include ../lib.mk