linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] mm/damon: decouple sysfs from core
@ 2025-06-22 21:37 SeongJae Park
  2025-06-22 21:37 ` [PATCH 1/5] mm/damon/sysfs-schemes: decouple from damos_quota_goal_metric SeongJae Park
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: SeongJae Park @ 2025-06-22 21:37 UTC (permalink / raw)
  To: Andrew Morton; +Cc: SeongJae Park, damon, kernel-team, linux-kernel, linux-mm

DAMON sysfs interface is coupled with core layer.  It maintains some of
its keywords arrays be synchronized with matching DAMON core API enums.
It is unnecessary coupling that makes separated changes for different
layers difficult.  Decouple the layers by introducing new data structure
for the mappings on DAMON sysfs interface.

SeongJae Park (5):
  mm/damon/sysfs-schemes: decouple from damos_quota_goal_metric
  mm/damon/sysfs-schemes: decouple from damos_action
  mm/damon/sysfs-schemes: decouple from damos_wmark_metric
  mm/damon/sysfs-schemes: decouple from damos_filter_type
  mm/damon/sysfs: decouple from damon_ops_id

 mm/damon/sysfs-schemes.c | 251 +++++++++++++++++++++++++++++----------
 mm/damon/sysfs.c         |  56 ++++++---
 2 files changed, 232 insertions(+), 75 deletions(-)


base-commit: fbbe5fa9805364a5d354e7b0fdf0a60c67bdea01
-- 
2.39.5


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

end of thread, other threads:[~2025-06-22 21:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-22 21:37 [PATCH 0/5] mm/damon: decouple sysfs from core SeongJae Park
2025-06-22 21:37 ` [PATCH 1/5] mm/damon/sysfs-schemes: decouple from damos_quota_goal_metric SeongJae Park
2025-06-22 21:37 ` [PATCH 2/5] mm/damon/sysfs-schemes: decouple from damos_action SeongJae Park
2025-06-22 21:37 ` [PATCH 3/5] mm/damon/sysfs-schemes: decouple from damos_wmark_metric SeongJae Park
2025-06-22 21:37 ` [PATCH 4/5] mm/damon/sysfs-schemes: decouple from damos_filter_type SeongJae Park
2025-06-22 21:37 ` [PATCH 5/5] mm/damon/sysfs: decouple from damon_ops_id SeongJae Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).