Skip to content

mm/damon: improve efficiency (paddr, core), fix a selftest, add a kunit

SJ Park damon linux-kselftest linux-mm mm-commits 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4mm/damon/paddr: skip non-LRU folios as a whole in pageoutmm/damon/paddr.c+3 -10 replies
2/4mm/damon/core: skip apply_probes() when no probes are installedmm/damon/core.c+1 -10 replies
3/4selftests/damon/damos_quota: skip the last sample when counting exceedstools/testing/selftests/damon/damos_quota.py+4 -30 replies
4/4mm/damon/tests/core-kunit: add test for damon_call()mm/damon/tests/core-kunit.h+22 -00 replies

Reviews trailers per patch

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

PatchEnze LiSJ ParkAveline Noir
1/4R-b R-b
2/4R-b
3/4R-b
4/4R-b T-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/4] mm/damon: improve efficiency (paddr, core), fix a selftest, add a kunit

Improve efficiency of DAMOS_PAGEOUT in paddr and apply_probes() in core by skipping unnecessary operations, via patches 1 and 2 from Aveline Noir. Fix a selftest for a false positive failure, via patch 3 from Aveline Noir. Add a kunit test for damon_call(), via patch 4 from Sailesh Nandanavanam.

This is a batched reposting of separately posted and reviewed patches for being merged into the mm.git. Refer to changelog on each patch for changes that were made before this reposting.

Aveline Noir (3):
mm/damon/paddr: skip non-LRU folios as a whole in pageout mm/damon/core: skip apply_probes() when no probes are installed selftests/damon/damos_quota: skip the last sample when counting
exceeds

Sailesh Nandanavanam (1):
mm/damon/tests/core-kunit: add test for damon_call()

 mm/damon/core.c                              |  2 +-
 mm/damon/paddr.c                             |  4 +++-
 mm/damon/tests/core-kunit.h                  | 22 ++++++++++++++++++++
 tools/testing/selftests/damon/damos_quota.py |  7 ++++---
 4 files changed, 30 insertions(+), 5 deletions(-)

base-commit: c2b9a116bd15d6afa6c3d032e97136fc67f06970

Signature · 1 line
2.47.3