Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH v1.1 0/3] mm/damon: fix wrong behaviors in DAMOS quota goals and sysfs refresh_ms
@ 2026-08-27 13:44 SJ Park
  2026-08-27 13:44 ` [RFC PATCH v1.1 1/3] mm/damon/core: initialize damos_quota_goal->last_psi_total SJ Park
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: SJ Park @ 2026-08-27 13:44 UTC (permalink / raw)
  Cc: SJ Park, stable, Andrew Morton, Quanmin Yan, Ravi Jonnalagadda,
	damon, linux-kernel, linux-mm

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


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

end of thread, other threads:[~2026-08-27 13:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-27 13:44 [RFC PATCH v1.1 0/3] mm/damon: fix wrong behaviors in DAMOS quota goals and sysfs refresh_ms SJ Park
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

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