[PATCH 0/3] mm/damon: fix a minor bug, clean code, and add a test

From: SJ Park

Date: Tue Oct 06 2026 - 02:52:45 EST


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
--
2.47.3