linux/tools/testing/selftests/damon
SeongJae Park 8bf890c816 selftests/damon/damon_nr_regions: test online-tuned max_nr_regions
User could update max_nr_regions parameter while DAMON is running to a
value that smaller than the current number of regions that DAMON is
seeing.  Such update could be done for reducing the monitoring overhead. 
In the case, DAMON should merge regions aggressively more than normal
situation to ensure the new limit is successfully applied.  Implement a
kselftest to ensure that.

Link: https://lkml.kernel.org/r/20240625180538.73134-9-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>
2024-07-03 19:30:29 -07:00
..
.gitignore
Makefile selftests/damon: implement test for min/max_nr_regions 2024-07-03 19:30:29 -07:00
_chk_dependency.sh
_damon_sysfs.py _damon_sysfs: implement commit() for online parameters update 2024-07-03 19:30:29 -07:00
_debugfs_common.sh
access_memory.c
access_memory_even.c selftests/damon: implement a program for even-numbered memory regions access 2024-07-03 19:30:28 -07:00
config
damon_nr_regions.py selftests/damon/damon_nr_regions: test online-tuned max_nr_regions 2024-07-03 19:30:29 -07:00
damos_apply_interval.py
damos_quota.py
damos_quota_goal.py
damos_tried_regions.py selftests/damon: implement DAMOS tried regions test 2024-07-03 19:30:28 -07:00
debugfs_attrs.sh
debugfs_duplicate_context_creation.sh
debugfs_empty_targets.sh
debugfs_huge_count_read_write.sh
debugfs_rm_non_contexts.sh
debugfs_schemes.sh
debugfs_target_ids.sh
debugfs_target_ids_pid_leak.c
debugfs_target_ids_pid_leak.sh
debugfs_target_ids_read_before_terminate_race.c
debugfs_target_ids_read_before_terminate_race.sh
huge_count_read_write.c
lru_sort.sh
reclaim.sh
sysfs.sh
sysfs_update_removed_scheme_dir.sh
sysfs_update_schemes_tried_regions_hang.py
sysfs_update_schemes_tried_regions_wss_estimation.py