summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/damon/Makefile
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2023-12-12 19:48:10 +0000
committerAndrew Morton <akpm@linux-foundation.org>2023-12-20 14:48:13 -0800
commite3898efaffdb8e78639e68e997e3b8b6d0ed4ebc (patch)
tree903e652321fffd936601d9f7c8682e1e0e260925 /tools/testing/selftests/damon/Makefile
parentb5906f5f7359f561c5915dc146ced1bc2733401c (diff)
selftests/damon: add a test for update_schemes_tried_regions hang bug
Add a test for reproducing the update_schemes_tried_{regions,bytes} command-causing indefinite hang bug that fixed by commit 7d6fa31a2fd7 ("mm/damon/sysfs-schemes: add timeout for update_schemes_tried_regions"), to avoid mistakenly re-introducing the bug. Refer to the fix commit for more details of the bug. Link: https://lkml.kernel.org/r/20231212194810.54457-6-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 90ffafc42c5e..8a1cc2bf1864 100644
--- a/tools/testing/selftests/damon/Makefile
+++ b/tools/testing/selftests/damon/Makefile
@@ -10,6 +10,7 @@ TEST_PROGS += debugfs_empty_targets.sh debugfs_huge_count_read_write.sh
TEST_PROGS += debugfs_duplicate_context_creation.sh
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 += reclaim.sh lru_sort.sh