All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] mm/damon/paddr: fix large folios access and schemes handling
@ 2025-02-07 21:20 SeongJae Park
  2025-02-07 21:20 ` [PATCH 1/2] mm/damon/ops: have damon_get_folio return folio even for tail pages SeongJae Park
  2025-02-07 21:20 ` [PATCH 2/2] mm/damon: avoid applying DAMOS action to same entity multiple times SeongJae Park
  0 siblings, 2 replies; 3+ messages in thread
From: SeongJae Park @ 2025-02-07 21:20 UTC (permalink / raw)
  To: Andrew Morton
  Cc: SeongJae Park, Usama Arif, damon, kernel-team, linux-kernel,
	linux-mm, stable

DAMON operations set for physical address space, namely 'paddr', treats
tail pages as unaccessed always.  It can also apply DAMOS action to
a large folio multiple times within single DAMOS' regions walking.  As a
result, the monitoring output has poor quality and DAMOS works in
unexpected ways when large folios are being used.  Fix those.

The patches were parts of Usama's hugepage_size DAMOS filter patch
series[1].  The first fix has collected from there with a slight commit
message change for the subject prefix.  The second fix is re-written by
SJ and posted as an RFC before this series.  The second one also got a
slight commit message change for the subject prefix.

[1] https://lore.kernel.org/20250203225604.44742-1-usamaarif642@gmail.com
[2] https://lore.kernel.org/20250206231103.38298-1-sj@kernel.org

SeongJae Park (1):
  mm/damon: avoid applying DAMOS action to same entity multiple times

Usama Arif (1):
  mm/damon/ops: have damon_get_folio return folio even for tail pages

 include/linux/damon.h | 11 +++++++++
 mm/damon/core.c       |  1 +
 mm/damon/ops-common.c |  2 +-
 mm/damon/paddr.c      | 57 +++++++++++++++++++++++++++++++------------
 4 files changed, 55 insertions(+), 16 deletions(-)


base-commit: 9c9a75a50e600803a157f4fc76cb856326406ce4
-- 
2.39.5

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

end of thread, other threads:[~2025-02-07 21:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-07 21:20 [PATCH 0/2] mm/damon/paddr: fix large folios access and schemes handling SeongJae Park
2025-02-07 21:20 ` [PATCH 1/2] mm/damon/ops: have damon_get_folio return folio even for tail pages SeongJae Park
2025-02-07 21:20 ` [PATCH 2/2] mm/damon: avoid applying DAMOS action to same entity multiple times SeongJae Park

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.