mirror_ubuntu-kernels/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
..
_chk_dependency.sh selftests/damon/_chk_dependency: get debugfs mount point from /proc/mounts 2024-02-22 10:24:57 -08:00
_damon_sysfs.py _damon_sysfs: implement commit() for online parameters update 2024-07-03 19:30:29 -07:00
_debugfs_common.sh selftets/damon: prepare for monitor_on file renaming 2024-02-22 10:24:46 -08:00
.gitignore selftests: damon: add access_memory to .gitignore 2024-03-04 17:01:16 -08:00
access_memory_even.c selftests/damon: implement a program for even-numbered memory regions access 2024-07-03 19:30:28 -07:00
access_memory.c selftests/damon/access_memory: use user-defined region size 2024-07-03 19:30:28 -07:00
config selftests: damon: add config file 2023-06-19 16:19:11 -07:00
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 selftests/damon: add a test for DAMOS apply intervals 2024-02-22 10:24:56 -08:00
damos_quota_goal.py selftests/damon: add a test for DAMOS quota goal 2024-05-11 15:41:33 -07:00
damos_quota.py selftests/damon: add a test for DAMOS quota 2024-02-22 10:24:56 -08:00
damos_tried_regions.py selftests/damon: implement DAMOS tried regions test 2024-07-03 19:30:28 -07:00
debugfs_attrs.sh selftests/damon: Add executable permission to test scripts 2023-09-26 19:24:44 -06:00
debugfs_duplicate_context_creation.sh selftests/damon: Add executable permission to test scripts 2023-09-26 19:24:44 -06:00
debugfs_empty_targets.sh selftets/damon: prepare for monitor_on file renaming 2024-02-22 10:24:46 -08:00
debugfs_huge_count_read_write.sh selftests/damon: Add executable permission to test scripts 2023-09-26 19:24:44 -06:00
debugfs_rm_non_contexts.sh selftests/damon: Add executable permission to test scripts 2023-09-26 19:24:44 -06:00
debugfs_schemes.sh selftests/damon: Add executable permission to test scripts 2023-09-26 19:24:44 -06:00
debugfs_target_ids_pid_leak.c selftests/damon: add a test for the pid leak of dbgfs_target_ids_write() 2024-02-22 10:24:56 -08:00
debugfs_target_ids_pid_leak.sh selftests/damon: add a test for the pid leak of dbgfs_target_ids_write() 2024-02-22 10:24:56 -08:00
debugfs_target_ids_read_before_terminate_race.c selftests/damon: add a test for a race between target_ids_read() and dbgfs_before_terminate() 2024-02-22 10:24:56 -08:00
debugfs_target_ids_read_before_terminate_race.sh selftests/damon: add a test for a race between target_ids_read() and dbgfs_before_terminate() 2024-02-22 10:24:56 -08:00
debugfs_target_ids.sh selftests/damon: Add executable permission to test scripts 2023-09-26 19:24:44 -06:00
huge_count_read_write.c selftests/damon: fix unnecessary compilation warnings 2022-11-30 15:58:56 -08:00
lru_sort.sh selftests/damon: Add executable permission to test scripts 2023-09-26 19:24:44 -06:00
Makefile selftests/damon: implement test for min/max_nr_regions 2024-07-03 19:30:29 -07:00
reclaim.sh selftests/damon: Add executable permission to test scripts 2023-09-26 19:24:44 -06:00
sysfs_update_removed_scheme_dir.sh selftests/damon: Add executable permission to test scripts 2023-09-26 19:24:44 -06:00
sysfs_update_schemes_tried_regions_hang.py selftest: damon: fix minor typos in test logs 2024-03-04 17:01:16 -08:00
sysfs_update_schemes_tried_regions_wss_estimation.py selftest: damon: fix minor typos in test logs 2024-03-04 17:01:16 -08:00
sysfs.sh selftests/damon: test quota goals directory 2023-12-12 10:57:04 -08:00