[PATCH v2 0/4] mm/damon: repost non-hotfix reviewed patches in damon/next tree

SeongJae Park
2026-04-26T23:16:28Z

Re-posting non-hotfix DAMON patches that reviewed by DAMON maintainer
but not yet merged into mm.git.

The first patch from Liew Rui Yan add a minor performance optimization
using ilog2() instead of inefficient manual implementation of the
functionality.

The second patch from Cheng-Han Wu fixes a minor typo:
s/parametrs/parameters/.

The third patch from Liew Rui Yan make commit_inputs operation of
DAMON_RECLAIM and DAMON_LRU_SORT synchronous to improve the user
experience.

The fourth patch from Asier Gutierrez adds a new DAMOS action,
DAMOS_COLLAPSE for deterministic DAMOS-based access-aware THP system.

Changes from v1
- v1: https://lore.kernel.org/20260402155733.77050-1-sj@kernel.org
- Add DAMOS_COLLAPSE patch.
- Rebase to latest mm-new.

Asier Gutierrez (1):
mm/damon: support MADV_COLLAPSE via DAMOS_COLLAPSE scheme action

Cheng-Han Wu (1):
Docs/admin-guide/mm/damon: fix 'parametrs' typo

Liew Rui Yan (2):
mm/damon/ops-common: optimize damon_hot_score() using ilog2()
mm/damon: add synchronous commit for commit_inputs

.../admin-guide/mm/damon/lru_sort.rst | 2 +-
.../admin-guide/mm/damon/reclaim.rst | 2 +-
Documentation/mm/damon/design.rst | 4 ++
include/linux/damon.h | 2 +
mm/damon/lru_sort.c | 46 ++++++++++++++++---
mm/damon/ops-common.c | 9 ++--
mm/damon/reclaim.c | 46 ++++++++++++++++---
mm/damon/sysfs-schemes.c | 4 ++
mm/damon/vaddr.c | 3 ++
tools/testing/selftests/damon/sysfs.py | 11 +++--
10 files changed, 105 insertions(+), 24 deletions(-)

base-commit: 1e24f85d7a997307185d5345c1711f485570a123
--
2.47.3