mm/damon: update, optimize, and clean up doc, tests, and code
Status from this message: [merged mm-stable] mm-damon-sysfs-fix-typos-in-probe_addrm_dirs-s-attr-probe.patch removed from -mm tree
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 11 applied
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/11] mm/damon: update, optimize, and clean up doc, tests, and code
Patches 1 and 2 update the design and ABI documents for recently added DAMON features. Patches 3-7 add or update more unit and self tests for DAMON to cover recently changed or added functions and sysfs files. Patch 8 optimizes damon_commit_target_regions() to skip unnecessary adjacent ranges setup. Patches 9-11 clean and fix up recently added DAMON sysfs interface code for readability.
Changes from RFC v1.3
- RFC v1.3: https://lore.kernel.org/[email protected]
- Drop RFC tag.
- Rebase to latest mm-new.
Changes from RFC v1.2
- RFC v1.2: https://lore.kernel.org/[email protected]
- Fix broken sphinx syntax in patch 1.
- Drop unused counts[] for damon_rand() test in patch 3. Changes from RFC v1.1
- RFC v1.1: https://lore.kernel.org/[email protected]
- Document nid requirement for node_eligible_mem_bp.
- Fix typos: s/memmcg/memcg/, s/geets/gets/.
- Drop damon_rnd() randomness test case; test boundness only.
- Fixup dests dir selftest to do real test with correct file permission checks.
Changes from RFC
- RFC: https://lore.kernel.org/[email protected]
- Rebase directly to latest mm-new.
SJ Park (11):
Docs/mm/damon/design: update for DAMOS_QUOTA_NODE_ELIGIBLE_MEM_BP Docs/ABI/damon: document probe files mm/damon/tests/core-kunit: test damon_rand() selftests/damon/sysfs.sh: test multiple probe dirs creation selftests/damon/sysfs.sh: test {core,ops}_filters/ directories selftests/damon/sysfs.sh: test dests dir selftests/damon/sysfs.sh: test all files in quota goal dir mm/damon/core: reduce range setup in damon_commit_target_regions() mm/damon/sysfs: split probe setup function out mm/damon/sysfs: split out filters setup function mm/damon/sysfs: fix typos in probe_{add,rm}_dirs: s/attr/probe/
.../ABI/testing/sysfs-kernel-mm-damon | 40 +++++++ Documentation/mm/damon/design.rst | 6 +- mm/damon/core.c | 22 +++- mm/damon/sysfs.c | 102 ++++++++++-------- mm/damon/tests/core-kunit.h | 15 +++ tools/testing/selftests/damon/sysfs.sh | 71 +++++++++++- 6 files changed, 203 insertions(+), 53 deletions(-)
base-commit: bb5dde77be397d614ef968578e3bf6cf9674df3c
Signature · 1 line
2.47.3