Docs/ABI/damon: document effective_bytes sysfs file
Update the DAMON ABI doc for the effective_bytes sysfs file and the kdamond state file input command for updating the content of the file. Link: https://lkml.kernel.org/r/20240219194431.159606-5-sj@kernel.org Signed-off-by: SeongJae Park <sj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
committed by
Andrew Morton
parent
c71f8a710c
commit
68c4905bba
@@ -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
|
kdamond. Writing 'update_schemes_tried_bytes' to the file
|
||||||
updates only '.../tried_regions/total_bytes' files of this
|
updates only '.../tried_regions/total_bytes' files of this
|
||||||
kdamond. Writing 'clear_schemes_tried_regions' to the file
|
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
|
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/pid
|
||||||
Date: Mar 2022
|
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
|
Description: Writing to and reading from this file sets and gets the size
|
||||||
quota of the scheme in bytes.
|
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
|
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/reset_interval_ms
|
||||||
Date: Mar 2022
|
Date: Mar 2022
|
||||||
Contact: SeongJae Park <sj@kernel.org>
|
Contact: SeongJae Park <sj@kernel.org>
|
||||||
|
|||||||
Reference in New Issue
Block a user