linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] mm/damon: introduce DAMOS filter type for active pages
@ 2025-03-18 18:30 Nhat Pham
  2025-03-18 18:30 ` [PATCH 1/2] mm/damon: implement a new " Nhat Pham
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Nhat Pham @ 2025-03-18 18:30 UTC (permalink / raw)
  To: akpm; +Cc: sj, corbet, linux-mm, kernel-team, linux-kernel, linux-doc, damon

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-03-18 18:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-18 18:30 [PATCH 0/2] mm/damon: introduce DAMOS filter type for active pages Nhat Pham
2025-03-18 18:30 ` [PATCH 1/2] mm/damon: implement a new " Nhat Pham
2025-03-18 18:45   ` SeongJae Park
2025-03-18 18:30 ` [PATCH 2/2] Docs/mm/damon/design: document active DAMOS filter type Nhat Pham
2025-03-18 18:46   ` SeongJae Park
2025-03-18 18:51 ` [PATCH 0/2] mm/damon: introduce DAMOS filter type for active pages SeongJae Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox