Skip to content

mm/damon: introduce DAMOS filter type for active pages

Nhat Pham damon linux-doc linux-mm lkml 1 version Applied

Status from this message: [merged mm-stable] docs-mm-damon-design-document-active-damos-filter-type.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2mm/damon: implement a new DAMOS filter type for active pagesinclude/linux/damon.h mm/damon/paddr.c mm/damon/sysfs-schemes.c+6 -01 replyApplied
2/2Docs/mm/damon/design: document active DAMOS filter typeDocumentation/mm/damon/design.rst+2 -01 replyApplied

Reviews trailers per patch

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

PatchSeongJae Park
1/2R-b
2/2R-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/2] mm/damon: introduce DAMOS filter type for active pages

The memory reclaim algorithm categorizes pages into active and inactive lists, separately for file and anon pages. The system's performance relies heavily on the (relative and absolute) accuracy of this categorization.

This patch series add a new DAMOS filter for pages' activeness, giving us visibility into the access frequency of the pages on each list. This insight can help us diagnose issues with the active-inactive balancing dynamics, and make decisions to optimize reclaim efficiency and memory utilization.

For instance, we might decide to enable DAMON_LRU_SORT, if we find that there are pages on the active list that are infrequently accessed, or less frequently accessed than pages on the inactive list.

Nhat Pham (2):
mm/damon: implement a new DAMOS filter type for active pages Docs/mm/damon/design: document active DAMOS filter type

 Documentation/mm/damon/design.rst | 2 ++
 include/linux/damon.h             | 2 ++
 mm/damon/paddr.c                  | 3 +++
 mm/damon/sysfs-schemes.c          | 1 +
 4 files changed, 8 insertions(+)

base-commit: 40caf747267c18b6206e26a37d6ea6b695236c11

Signature · 1 line
2.47.1