Skip to content

RFC mm/damon: update, optimize, and clean up doc, tests, and code

SeongJae Park damon linux-doc linux-kselftest linux-mm lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest11 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11Docs/mm/damon/design: update for DAMOS_QUOTA_NODE_ELIGIBLE_MEM_BPDocumentation/mm/damon/design.rst+2 -00 replies
2/11Docs/ABI/damon: document probe filesDocumentation/ABI/testing/sysfs-kernel-mm-damon+40 -00 replies
3/11mm/damon/tests/core-kunit: test damon_rand()mm/damon/tests/core-kunit.h+21 -00 replies
4/11selftests/damon/sysfs.sh: test multiple probe dirs creationtools/testing/selftests/damon/sysfs.sh+5 -00 replies
5/11selftests/damon/sysfs.sh: test {core,ops}_filters/ directoriestools/testing/selftests/damon/sysfs.sh+24 -40 replies
6/11selftests/damon/sysfs.sh: test dests dirtools/testing/selftests/damon/sysfs.sh+23 -00 replies
7/11selftests/damon/sysfs.sh: test all files in quota goal dirtools/testing/selftests/damon/sysfs.sh+14 -00 replies
8/11mm/damon/core: reduce range setup in damon_commit_target_regions()mm/damon/core.c+17 -50 replies
9/11mm/damon/sysfs: split probe setup function outmm/damon/sysfs.c+46 -340 replies
10/11mm/damon/sysfs: split out filters setup functionmm/damon/sysfs.c+13 -70 replies
11/11mm/damon/sysfs: fix typos in probe_{add,rm}_dirs: s/attr/probe/mm/damon/sysfs.c+8 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 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.

SeongJae 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             |   2 +
 mm/damon/core.c                               |  22 +++-
 mm/damon/sysfs.c                              | 102 ++++++++++--------
 mm/damon/tests/core-kunit.h                   |  21 ++++
 tools/testing/selftests/damon/sysfs.sh        |  70 +++++++++++-
 6 files changed, 206 insertions(+), 51 deletions(-)

base-commit: 197a7eb91f786e5deeb1dfea35076c01ebd37ce0

Signature · 1 line
2.47.3