aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2023-09-03 02:12:56 +0000
committerSeongJae Park <sj@kernel.org>2023-09-03 02:12:56 +0000
commitc6e64d0280ab145dec93dbac25bfa7b35f2a8294 (patch)
treea96766485984d25d4c8faf5ad2de81657f8bd97a
parentd6bff9ae170524bf13b2d5008c92ecbf2e8a0d30 (diff)
downloaddamon-hack-c6e64d0280ab145dec93dbac25bfa7b35f2a8294.tar.gz
ideas: Remove DAMON filesystem
It has implemented as DAMON sysfs interface. Remove it. Signed-off-by: SeongJae Park <sj@kernel.org>
-rw-r--r--ideas71
1 files changed, 0 insertions, 71 deletions
diff --git a/ideas b/ideas
index 49152cc..8ecd322 100644
--- a/ideas
+++ b/ideas
@@ -27,74 +27,3 @@ Yet another address space for DAMON
The monitoring results-based address adjustment works for LRU
index-as-an-address case only. We can make internal address translation
mechanism and do the monitoring via the DAMON-internal address space.
-
-
-DAMON filesystem
-================
-
-Develop dedicated filesystem for DAMON interface like tracefs, to be
-independent from the debugfs and providing better interface.
-
-The idea of the new interface is, using directory hierarchies and making one
-file for one value. For example,
-
- damon/
- │ monitor_on
- │ contexts
- │ │ mk_context,rm_context
- │ │ ctx1/
- │ │ │ kdamond_pid
- │ │ │ target_type (va | pa)
- │ │ │ attrs/
- │ │ │ │ intervals/
- │ │ │ │ sampling,aggr,update
- │ │ │ │ nr_regions/
- │ │ │ │ min,max
- │ │ │ targets/
- │ │ │ │ mk_target,rm_target
- │ │ │ │ target1/
- │ │ │ │ │ pid
- │ │ │ │ │ init_regions/
- │ │ │ │ │ │ region1/
- │ │ │ │ │ │ │ start,end
- │ │ │ │ │ │ ...
- │ │ │ │ ...
- │ │ │ schemes/
- │ │ │ │ mk_scheme,rm_scheme
- │ │ │ │ scheme1/
- │ │ │ │ │ action
- │ │ │ │ │ target_access_pattern/
- │ │ │ │ │ │ sz/
- │ │ │ │ │ │ min,max
- │ │ │ │ │ │ nr_accesses/
- │ │ │ │ │ │ min,max
- │ │ │ │ │ │ age/
- │ │ │ │ │ │ min,max
- │ │ │ │ │ quotas/
- │ │ │ │ │ │ ms,bytes,reset_interval
- │ │ │ │ │ │ prioritization_weights/
- │ │ │ │ │ │ sz,nr_accesses,age
- │ │ │ │ │ watermarks/
- │ │ │ │ │ metric,check_interval,high,mid,low
- │ │ │ │ │ stats/
- │ │ │ │ │ │ quota_exceeds
- │ │ │ │ │ │ tried/
- │ │ │ │ │ │ nr,sz
- │ │ │ │ │ │ applied/
- │ │ │ │ │ │ nr,sz
- │ │ │ │ │ ...
- │ │ │ │ ...
- │ │ ...
-
-/sys/kernel/mm/damon/ would be the good mount point.
-User can add contexts my 'mkdir <context name>' from damon/.
-Then, target_ids, kdamond_pid, attrs/, init_regions/, and schemes/ would
-automatically populated.
-
-Adding more layers could be helpful.
-
-damon/admin/...
- /kernel_subsys/reclaim/autopilot/
- /manual/
- /thp/
- /integrated/