OpenCloudOS-Kernel/tools/testing/selftests/damon
SeongJae Park ade38b8ca5 selftest/damon: add a test for duplicate context dirs creation
Patch series "mm/damon: minor fixes and cleanups".

This patchset contains minor fixes and cleanups for DAMON including

- selftest for a bug we found before (Patch 1), 
- fix of region holes in vaddr corner case and a kunit test for it
  (Patches 2 and 3), and
- documents/Kconfig updates for title wordsmithing (Patch 4) and more
  aggressive DAMON debugfs interface deprecation announcement
  (Patches 5-7).


This patch (of 7):

Commit d26f607036 ("mm/damon/dbgfs: avoid duplicate context directory
creation") fixes a bug which could result in memory leak and DAMON
disablement.  This commit adds a selftest for verifying the fix and avoid
regression.

Link: https://lkml.kernel.org/r/20220909202901.57977-1-sj@kernel.org
Link: https://lkml.kernel.org/r/20220909202901.57977-2-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Brendan Higgins <brendanhiggins@google.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Yun Levi <ppbuk5246@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2022-10-03 14:03:06 -07:00
..
.gitignore selftests/damon: test debugfs file reads/writes with huge count 2021-12-10 17:10:56 -08:00
Makefile selftest/damon: add a test for duplicate context dirs creation 2022-10-03 14:03:06 -07:00
_chk_dependency.sh kselftests/damon: add support for cases where debugfs cannot be read 2022-06-27 14:14:41 -06:00
_debugfs_common.sh selftests/damon: split test cases 2021-12-10 17:10:56 -08:00
debugfs_attrs.sh selftests/damon: split test cases 2021-12-10 17:10:56 -08:00
debugfs_duplicate_context_creation.sh selftest/damon: add a test for duplicate context dirs creation 2022-10-03 14:03:06 -07:00
debugfs_empty_targets.sh selftests/damon: split test cases 2021-12-10 17:10:56 -08:00
debugfs_huge_count_read_write.sh selftests/damon: split test cases 2021-12-10 17:10:56 -08:00
debugfs_schemes.sh selftests/damon: split test cases 2021-12-10 17:10:56 -08:00
debugfs_target_ids.sh selftests/damon: split test cases 2021-12-10 17:10:56 -08:00
huge_count_read_write.c selftests/damon: test debugfs file reads/writes with huge count 2021-12-10 17:10:56 -08:00
sysfs.sh selftets/damon/sysfs: test existence and permission of avail_operations 2022-05-13 07:20:06 -07:00