All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH v3 0/2] mm/damon: aware attr-only mode in DAMOS quota region selection
@ 2026-12-02  2:28 SJ Park
  2026-12-02  2:28 ` [RFC PATCH v3 1/2] mm/damon/core: expose damon_has_probe_weights() SJ Park
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: SJ Park @ 2026-12-02  2:28 UTC (permalink / raw)
  Cc: SJ Park, Andrew Morton, damon, linux-mm

DAMOS quota's region prioritization/selection is not aware of the data
attributes only monitoring mode.  It uses wrong information for the
decision and therefore becomes useless in this mode.  Make it be aware
of and properly work in the mode.

Introduce a core API function for determining 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 v2
- RFC v2: https://lore.kernel.org/20261201032655.123822-1-sj@kernel.org
- Fix the wrong mode check in hotness calculation.
- Wordsmith commit messages.
- Rebase to the latest mm-new.
Changes from RFC
- RFC: https://lore.kernel.org/20261130001530.173703-1-sj@kernel.org
- Scale freq_subscore denominator for the probe weights.
- Rebase to the latest mm-new.

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

 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: 4c508ea2c29a919e3c813147dddd620428bb7d77
-- 
2.47.3


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

end of thread, other threads:[~2026-12-02  2:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-02  2:28 [RFC PATCH v3 0/2] mm/damon: aware attr-only mode in DAMOS quota region selection SJ Park
2026-12-02  2:28 ` [RFC PATCH v3 1/2] mm/damon/core: expose damon_has_probe_weights() SJ Park
2026-12-02  2:28 ` [RFC PATCH v3 2/2] mm/damon/ops-common: use probe hits weighted sum in damon_hot_score() SJ Park
2026-12-02  2:34 ` [RFC PATCH v3 0/2] mm/damon: aware attr-only mode in DAMOS quota region selection sashiko-bot

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.