Skip to content

mm/damon: fix a minor bug, clean code, and add a test

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

Status from this message: [merged mm-stable] mm-damon-tests-core-kunit-add-test-for-unconditionally-skipping-the-last-region.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesApplied 3/3

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3mm/damon/ops-common: fix age_in_sec overflow on 32-bitmm/damon/ops-common.c+3 -20 repliesApplied
2/3mm/damon: use damon_get_monitor_folio() for hugetlb entriesmm/damon/ops-common.c mm/damon/vaddr.c+10 -60 repliesApplied
3/3mm/damon/tests/core-kunit: add test for unconditionally skipping the last regionmm/damon/tests/core-kunit.h+42 -00 repliesApplied

Reviews trailers per patch

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

PatchSJ Park
1/3R-b
2/3R-b
3/3R-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/3] mm/damon: fix a minor bug, clean code, and add a test

Patch 1 from Jaeyeon Lee fixes a minor overflow issue in DAMOS. Patch 2 from Gregory Price (Meta) cleans up the code for handling of hugetlb pages. Patch 3 from Liew Rui Yan adds a kunit test for a recently fixed bug.

Note to Andrew. This is a batched reposting of DAMON patches that I reviewed and asking for merge into mm.git. Since there are only two weeks before the expected opening of the next merge window, this will be the last mm.git merge requesting unurgent DAMON reposting until the next rc1.

Gregory Price (1):
mm/damon: use damon_get_monitor_folio() for hugetlb entries

Jaeyeon Lee (1):
mm/damon/ops-common: fix age_in_sec overflow on 32-bit

Liew Rui Yan (1):
mm/damon/tests/core-kunit: add test for unconditionally skipping the
last region

 mm/damon/ops-common.c       | 11 ++++++----
 mm/damon/tests/core-kunit.h | 42 +++++++++++++++++++++++++++++++++++++
 mm/damon/vaddr.c            | 10 +++++----
 3 files changed, 55 insertions(+), 8 deletions(-)

base-commit: 1b1d9187f46db1efb64533dab8b8d5f4f2af0eb5

Signature · 1 line
2.47.3