From: SJ Park <sj@kernel.org>
Cc: SJ Park <sj@kernel.org>,
stable@vger.kernel.org, Andrew Morton <akpm@linux-foundation.org>,
Quanmin Yan <yanquanmin1@huawei.com>,
Ravi Jonnalagadda <ravis.opensrc@gmail.com>,
damon@lists.linux.dev, linux-kernel@vger.kernel.org,
linux-mm@kvack.org
Subject: [RFC PATCH v1.1 0/3] mm/damon: fix wrong behaviors in DAMOS quota goals and sysfs refresh_ms
Date: Thu, 27 Aug 2026 06:44:25 -0700 [thread overview]
Message-ID: <20260827134429.123023-1-sj@kernel.org> (raw)
DAMOS quota goals and DAMON sysfs refresh_ms file have bugs that can
produce non critical but still unexpected behaviors. Fix the two bugs.
Patches 1 and 2 fix the bugs in DAMOS PSI goal initialization and
eligible_mem_bp online commit, respectively. Patch 3 fixes the bug in
DAMON sysfs refresh_ms file handling.
Changes from RFC
- RFC: https://lore.kernel.org/20260827042920.93580-1-sj@kernel.org
(Mistakenly missed RFC tag)
- Fix build error.
- Add eligible_mem_bp nid commit fix.
SJ Park (3):
mm/damon/core: initialize damos_quota_goal->last_psi_total
mm/damon/core: copy nid for eligible_mem_bp damos quota goal commit
mm/damon/sysfs: set next refresh jiffies per sysfs context
mm/damon/core.c | 21 ++++++++++++++++++++-
mm/damon/sysfs.c | 11 +++++------
2 files changed, 25 insertions(+), 7 deletions(-)
base-commit: 9e11dd3caaf0ac70acdc0f568265a7fa5085ef42
--
2.47.3
next reply other threads:[~2026-08-27 13:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-27 13:44 SJ Park [this message]
2026-08-27 13:44 ` [RFC PATCH v1.1 1/3] mm/damon/core: initialize damos_quota_goal->last_psi_total SJ Park
2026-08-27 13:44 ` [RFC PATCH v1.1 2/3] mm/damon/core: copy nid for eligible_mem_bp damos quota goal commit SJ Park
2026-08-27 13:44 ` [RFC PATCH v1.1 3/3] mm/damon/sysfs: set next refresh jiffies per sysfs context 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=20260827134429.123023-1-sj@kernel.org \
--to=sj@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=damon@lists.linux.dev \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=ravis.opensrc@gmail.com \
--cc=stable@vger.kernel.org \
--cc=yanquanmin1@huawei.com \
/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