Skip to content

mm/damon: misc cleanups

SJ Park damon linux-kselftest linux-mm lkml 1 version Applied

Status from this message: [merged mm-stable] samples-damon-mtier-add-comment-for-struct-region_range.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 2 repliesApplied 7/7

Patches in v1 All 7 applied

#Subject and filesSizeRepliesApplied
1/7mm/damon/core: remove declaration of __damon_commit_ctx()mm/damon/core.c+0 -20 repliesApplied
2/7mm/damon/core: introduce damon_set_target_pid()include/linux/damon.h mm/damon/core.c mm/damon/sysfs.c +2 more+17 -122 repliesApplied
3/7mm/damon/ops-common: factor out damon_putback_folio_list()mm/damon/ops-common.c+15 -150 repliesApplied
4/7selftests/damon/sysfs.py: clean up sh processes used for obsolete_target testtools/testing/selftests/damon/sysfs.py+4 -00 repliesApplied
5/7mm/damon/tests: use scoped_guard() for damon_test_ops_registrationmm/damon/tests/core-kunit.h+10 -110 repliesApplied
6/7selftests/damon: prevent remaining cross-object state pollutiontools/testing/selftests/damon/_damon_sysfs.py+28 -100 repliesApplied
7/7samples/damon/mtier: add comment for struct region_rangesamples/damon/mtier.c+5 -00 repliesApplied

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchSJ Park
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7R-b
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

Cleanup the code, tests and samples for clarifications and readability.

The patches are individually sent by the authors. I'm reposting those as one series for convenience of handling. For this reason, changelog is on each patch's commentary section.

Enze Li (1):
samples/damon/mtier: add comment for struct region_range

Hari Mishal (1):
selftests/damon/sysfs.py: clean up sh processes used for
obsolete_target test

Jaeyeon Lee (1):
mm/damon/tests: use scoped_guard() for damon_test_ops_registration

Li Youhong (1):
mm/damon/ops-common: factor out damon_putback_folio_list()

SJ Park (1):
mm/damon/core: introduce damon_set_target_pid()

Zenghui Yu (Huawei) (1):
mm/damon/core: remove declaration of __damon_commit_ctx()

zhaozhengzhuo (1):
selftests/damon: prevent remaining cross-object state pollution

 include/linux/damon.h                         |  1 +
 mm/damon/core.c                               | 14 ++++++-
 mm/damon/ops-common.c                         | 30 +++++++--------
 mm/damon/sysfs.c                              |  6 +--
 mm/damon/tests/core-kunit.h                   | 21 +++++-----
 samples/damon/mtier.c                         |  5 +++
 samples/damon/prcl.c                          |  5 +--
 samples/damon/wsse.c                          |  5 +--
 tools/testing/selftests/damon/_damon_sysfs.py | 38 ++++++++++++++-----
 tools/testing/selftests/damon/sysfs.py        |  4 ++
 10 files changed, 79 insertions(+), 50 deletions(-)

base-commit: 58132fed7967e3401e3f293a0a2cc983161e229e

Signature · 1 line
2.47.3