diff options
author | SeongJae Park <sj@kernel.org> | 2024-06-25 20:05:38 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-07-04 04:30:29 +0200 |
commit | 8bf890c8161215bd1fbd1a6d9b61acbb8eac165b (patch) | |
tree | f9416b60f4fd8b4fc9b47dca1e60cc155a3fb9e5 /mm/swap.c | |
parent | _damon_sysfs: implement commit() for online parameters update (diff) | |
download | linux-8bf890c8161215bd1fbd1a6d9b61acbb8eac165b.tar.xz linux-8bf890c8161215bd1fbd1a6d9b61acbb8eac165b.zip |
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>
Diffstat (limited to 'mm/swap.c')
0 files changed, 0 insertions, 0 deletions