Skip to contentSkip to conversation

docs-abi-damon-document-effective_bytes-sysfs-file.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Feb 24, 2024

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: Docs/ABI/damon: document effective_bytes sysfs file
has been removed from the -mm tree. Its filename was
docs-abi-damon-document-effective_bytes-sysfs-file.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: SeongJae Park <[email protected]>
Subject: Docs/ABI/damon: document effective_bytes sysfs file
Date: Mon, 19 Feb 2024 11:44:15 -0800

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.

---

 Documentation/ABI/testing/sysfs-kernel-mm-damon |   10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
Documentation/ABI/testing/sysfs-kernel-mm-damon renamed from Documentation/ABI/testing/sysfs-kernel-mm-damon~docs-abi-damon-document-effective_bytes-sysfs-file +9 -1
@@ -34,7 +34,9 @@ Description:	Writing 'on' or 'off' to th
 		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 <[email protected]>
 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 <[email protected]>
+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 <[email protected]>

_

Patches currently in -mm which might be from [email protected] are