Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH v2 0/2] mm/damon: improve DAMOS quota region prioritization in attr-only mode
@ 2026-12-01  3:26 SJ Park
  2026-12-01  3:26 ` [RFC PATCH v2 1/2] mm/damon/core: expose damon_has_probe_weights() SJ Park
  2026-12-01  3:26 ` [RFC PATCH v2 2/2] mm/damon/ops-common: use probe hits weighted sum for hotness SJ Park
  0 siblings, 2 replies; 5+ messages in thread
From: SJ Park @ 2026-12-01  3:26 UTC (permalink / raw)
  Cc: SJ Park, Andrew Morton, damon, linux-mm

DAMOS quota's region prioritization is not aware of the data attributes
only monitoring mode.  As a result, it becomes useless in the mode.
Improve it to be aware of it and use the attributes monitoring results.

Introduce a core API function for knowing if it is in the mode, via
patch 1.  Update the prioritization score calculation to use the
attributes monitoring results in the mode, via patch 2.

Changes from RFC
- RFC: https://lore.kernel.org/20261130001530.173703-1-sj@kernel.org
- Scale freq_subscore denominator for the probe weights.

SJ Park (2):
  mm/damon/core: expose damon_has_probe_weights()
  mm/damon/ops-common: use probe hits weighted sum for hotness

 include/linux/damon.h |  1 +
 mm/damon/core.c       |  2 +-
 mm/damon/ops-common.c | 23 ++++++++++++++++++++---
 3 files changed, 22 insertions(+), 4 deletions(-)


base-commit: 0bbbdf85abf48b019cb8dd7a6e87f0a8995fdcd2
-- 
2.47.3


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

end of thread, other threads:[~2026-12-01  3:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01  3:26 [RFC PATCH v2 0/2] mm/damon: improve DAMOS quota region prioritization in attr-only mode SJ Park
2026-12-01  3:26 ` [RFC PATCH v2 1/2] mm/damon/core: expose damon_has_probe_weights() SJ Park
2026-12-01  3:26 ` [RFC PATCH v2 2/2] mm/damon/ops-common: use probe hits weighted sum for hotness SJ Park
2026-12-01  3:34   ` sashiko-bot
2026-12-01  3:35     ` SJ Park

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