Skip to content

mm/damon: misc cleanups

SeongJae Park damon linux-doc linux-kselftest linux-mm lkml llvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 1 replyIn review 8 of 9 applied

Patches in v1 8 of 9 applied

#Subject and filesSizeRepliesApplied
1/9mm/damon: rename damos core filter helpers to have word core.clang-format include/linux/damon.h mm/damon/core.c+11 -110 repliesApplied
2/9mm/damon: rename damos->filters to damos->core_filtersinclude/linux/damon.h mm/damon/core.c mm/damon/tests/core-kunit.h +2 more+15 -150 repliesApplied
3/9mm/damon/vaddr: cleanup using pmd_trans_huge_lock()mm/damon/vaddr.c+12 -361 reply
4/9mm/damon/vaddr: use vm_normal_folio{,_pmd}() instead of damon_get_folio()mm/damon/vaddr.c+6 -130 repliesApplied
5/9mm/damon/vaddr: consistently use only pmd_entry for damos_migratemm/damon/vaddr.c+37 -470 repliesApplied
6/9mm/damon/tests/core-kunit: remove DAMON_MIN_REGION redefinitionmm/damon/core.c mm/damon/tests/core-kunit.h+26 -340 repliesApplied
7/9selftests/damon/sysfs.py: merge DAMON status dumping into commitment assertiontools/testing/selftests/damon/sysfs.py+13 -300 repliesApplied
8/9Docs/mm/damon/maintainer-profile: fix a typo on mm-untable linkDocumentation/mm/damon/maintainer-profile.rst+1 -10 repliesApplied
9/9Docs/mm/damon/maintainer-profile: fix grammartical errorsDocumentation/mm/damon/maintainer-profile.rst+4 -40 repliesApplied

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/9] mm/damon: misc cleanups

Yet another batch of misc cleanups and refactoring for DAMON code, tests, and documents.

First two patches (1and 2) rename DAMOS core filters related code for readability.

Three following patches (3-5) refactor page table walk callback functions in DAMON, as suggested by Hugh and David, and I promised.

Next two patches (6 and 7) refactor DAMON core layer kunit test and sysfs interface selftest to be simple and deduplicated.

Final two patches (8 and 9) fix up sphinx and grammatical errors on documents.

SeongJae Park (9):
mm/damon: rename damos core filter helpers to have word core mm/damon: rename damos->filters to damos->core_filters mm/damon/vaddr: cleanup using pmd_trans_huge_lock() mm/damon/vaddr: use vm_normal_folio{,_pmd}() instead of
damon_get_folio()
mm/damon/vaddr: consistently use only pmd_entry for damos_migrate mm/damon/tests/core-kunit: remove DAMON_MIN_REGION redefinition selftests/damon/sysfs.py: merge DAMON status dumping into commitment
assertion
Docs/mm/damon/maintainer-profile: fix a typo on mm-untable link Docs/mm/damon/maintainer-profile: fix grammartical errors

 .clang-format                                 |   4 +-
 Documentation/mm/damon/maintainer-profile.rst |  10 +-
 include/linux/damon.h                         |  14 +-
 mm/damon/core.c                               |  25 ++-
 mm/damon/tests/core-kunit.h                   |  59 ++++----
 mm/damon/vaddr.c                              | 143 +++++++-----------
 .../selftests/damon/drgn_dump_damon_status.py |   8 +-
 tools/testing/selftests/damon/sysfs.py        |  45 ++----
 8 files changed, 121 insertions(+), 187 deletions(-)

base-commit: 4e9ec347bc14de636aec3014dee3b5d279ca33bf

Signature · 1 line
2.47.3