All of lore.kernel.org
 help / color / mirror / Atom feed
From: SJ Park <sj@kernel.org>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: SJ Park <sj@kernel.org>, damon@lists.linux.dev, linux-mm@kvack.org
Subject: [PATCH v3 3/3] mm/damon/api: clarify node_eligible_mem_bp is access pattern-eligible
Date: Fri,  4 Dec 2026 15:46:35 -0800	[thread overview]
Message-ID: <20261204234637.93274-4-sj@kernel.org> (raw)
In-Reply-To: <20261204234637.93274-1-sj@kernel.org>

The node_eligible_mem_bp is for memory that is eligible by the
damos_access_pattern.  It doesn’t count DAMOS core filters.  Its name
and the kernel-doc comment are not quite clear about that.  Update the
kernel-doc to make it clearer.

Signed-off-by: SJ Park <sj@kernel.org>
---
 include/linux/damon.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/include/linux/damon.h b/include/linux/damon.h
index 99f57add0106..99ae4a05ee05 100644
--- a/include/linux/damon.h
+++ b/include/linux/damon.h
@@ -149,8 +149,9 @@ enum damos_action {
  * @DAMOS_QUOTA_NODE_MEMCG_FREE_BP:	MemFree ratio of a node for a cgroup.
  * @DAMOS_QUOTA_ACTIVE_MEM_BP:		Active to total LRU memory ratio.
  * @DAMOS_QUOTA_INACTIVE_MEM_BP:	Inactive to total LRU memory ratio.
- * @DAMOS_QUOTA_NODE_ELIGIBLE_MEM_BP:	Scheme-eligible memory ratio of a
- *					node in basis points (0-10000).
+ * @DAMOS_QUOTA_NODE_ELIGIBLE_MEM_BP:	Scheme access pattern-eligible memory
+ *					ratio of a node in basis points
+ *					(0-10000).
  * @DAMOS_QUOTA_HUGEPAGE_MEM_BP:	Huge page to total used memory ratio.
  */
 enum damos_quota_goal_metric {
-- 
2.47.3


  parent reply	other threads:[~2026-12-04 23:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04 23:46 [PATCH v3 0/3] mm/damon: treat DAMOS core filters as a primary target selection method SJ Park
2026-12-04 23:46 ` [PATCH v3 1/3] mm/damon/tests/core-kunit: drop apply_scheme()-internal filter tests SJ Park
2026-12-05  6:23   ` + mm-damon-tests-core-kunit-drop-apply_scheme-internal-filter-tests.patch added to mm-new branch Andrew Morton
2026-12-04 23:46 ` [PATCH v3 2/3] mm/damon/core: apply damos core filter in __damos_valid_target() SJ Park
2026-12-05  6:23   ` + mm-damon-core-apply-damos-core-filter-in-__damos_valid_target.patch added to mm-new branch Andrew Morton
2026-12-04 23:46 ` SJ Park [this message]
2026-12-05  6:23   ` + mm-damon-api-clarify-node_eligible_mem_bp-is-access-pattern-eligible.patch " Andrew Morton
2026-12-04 23:57 ` [PATCH v3 0/3] mm/damon: treat DAMOS core filters as a primary target selection method sashiko-bot

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=20261204234637.93274-4-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 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.