Add various improvements to DAMON tests and documents.
Patch 1 and 2 from Zenghui Yu (Huawei) let DAMON selftest to clean up
its state and output after running the tests. Patch 3 from Eva
Kurchatova makes a few selftest be able to run with Python's safe path
mode. Patch 4 from Kunwu Chan improves coverage of DAMON kunit tests.
Finally, patches 5 and 6 from Liew Rui Yan clarify and fix typos on
documents for DAMOS quota behaviors.
Below are notes that can be removed in the final commit message.
This is a batched repost of DAMON patches that were individually posted.
Please refer to each patch for changelog.
Eva Kurchatova (1):
selftests/damon: add script dir to sys.path for PYTHONSAFEPATH
compatibility
Kunwu Chan (1):
mm/damon/tests/core-kunit: improve nr_samples_per_aggr test isolation
Liew Rui Yan (2):
Docs/mm/damon/design: clarify when qt_exceeds increases
Docs/mm/damon/design: fix typos in temporal auto-tuning algorithm
section
Zenghui Yu (Huawei) (2):
selftests/damon: stop kdamond on error exits of no-op commit test
selftests/damon: ignore test-generated damon_dump_output
Documentation/mm/damon/design.rst | 8 +++--
mm/damon/tests/core-kunit.h | 19 +++++++---
tools/testing/selftests/damon/.gitignore | 1 +
.../selftests/damon/damon_nr_regions.py | 3 ++
.../selftests/damon/damos_apply_interval.py | 3 ++
tools/testing/selftests/damon/damos_quota.py | 3 ++
.../selftests/damon/damos_quota_goal.py | 3 ++
.../selftests/damon/damos_tried_regions.py | 3 ++
.../damon/sysfs_no_op_commit_break.py | 35 ++++++++++---------
...sysfs_update_schemes_tried_regions_hang.py | 3 ++
...te_schemes_tried_regions_wss_estimation.py | 3 ++
11 files changed, 60 insertions(+), 24 deletions(-)
base-commit: d1153a22117b5c6171bdf24d32b7f6c314887d23
--
2.47.3