Merge tag 'mm-stable-2024-03-13-20-04' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git] / Documentation / ABI / testing / sysfs-kernel-mm-damon
index bfa5b82..dad4d5f 100644 (file)
@@ -34,7 +34,9 @@ Description:  Writing 'on' or 'off' to this file makes the kdamond starts or
                kdamond.  Writing 'update_schemes_tried_bytes' to the file
                updates only '.../tried_regions/total_bytes' files of this
                kdamond.  Writing 'clear_schemes_tried_regions' to the file
-               removes contents of the 'tried_regions' directory.
+               removes contents of the 'tried_regions' directory.  Writing
+               'update_schemes_effective_quotas' to the file updates
+               '.../quotas/effective_bytes' files of this kdamond.
 
 What:          /sys/kernel/mm/damon/admin/kdamonds/<K>/pid
 Date:          Mar 2022
@@ -208,6 +210,12 @@ Contact:   SeongJae Park <sj@kernel.org>
 Description:   Writing to and reading from this file sets and gets the size
                quota of the scheme in bytes.
 
+What:          /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/effective_bytes
+Date:          Feb 2024
+Contact:       SeongJae Park <sj@kernel.org>
+Description:   Reading from this file gets the effective size quota of the
+               scheme in bytes, which adjusted for the time quota and goals.
+
 What:          /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/reset_interval_ms
 Date:          Mar 2022
 Contact:       SeongJae Park <sj@kernel.org>
@@ -221,6 +229,12 @@ Description:       Writing a number 'N' to this file creates the number of
                directories for setting automatic tuning of the scheme's
                aggressiveness named '0' to 'N-1' under the goals/ directory.
 
+What:          /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/goals/<G>/target_metric
+Date:          Feb 2024
+Contact:       SeongJae Park <sj@kernel.org>
+Description:   Writing to and reading from this file sets and gets the quota
+               auto-tuning goal metric.
+
 What:          /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/goals/<G>/target_value
 Date:          Nov 2023
 Contact:       SeongJae Park <sj@kernel.org>