DAMON development mailing list
 help / color / mirror / Atom feed
From: SJ Park <sj@kernel.org>
Cc: SJ Park <sj@kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	damon@lists.linux.dev, linux-mm@kvack.org
Subject: [RFC PATCH 0/2] mm/damon: improve DAMOS quota region prioritization in attr-only mode
Date: Sun, 29 Nov 2026 16:15:27 -0800	[thread overview]
Message-ID: <20261130001530.173703-1-sj@kernel.org> (raw)

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.

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 | 9 +++++++--
 3 files changed, 9 insertions(+), 3 deletions(-)


base-commit: b7ee96f81dbca196a4aed69e280a444e8369dac2
-- 
2.47.3

             reply	other threads:[~2026-11-30  0:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30  0:15 SJ Park [this message]
2026-11-30  0:15 ` [RFC PATCH 1/2] mm/damon/core: expose damon_has_probe_weights() SJ Park
2026-11-30  0:15 ` [RFC PATCH 2/2] mm/damon/ops-common: use probe hits weighted sum for hotness SJ Park

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261130001530.173703-1-sj@kernel.org \
    --to=sj@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=damon@lists.linux.dev \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox