]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Docs/ABI/damon: document DAMOS sysfs files to set the min/max folio_size
authorUsama Arif <usamaarif642@gmail.com>
Tue, 11 Feb 2025 12:43:42 +0000 (12:43 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 17 Mar 2025 05:06:13 +0000 (22:06 -0700)
This will be used to decide the min and max folio size to operate on for
pa_stat.

Link: https://lkml.kernel.org/r/20250211124437.278873-4-usamaarif642@gmail.com
Signed-off-by: Usama Arif <usamaarif642@gmail.com>
Reviewed-by: SeongJae Park <sj@kernel.org>
Cc: David Hildenbrand <david@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/ABI/testing/sysfs-kernel-mm-damon

index b057eddefbfc9a85a5a2e8752cb50fb34ea96606..ccd13ca668c8fe2ba7a5fdc1eb8af2e3ab1087f5 100644 (file)
@@ -345,6 +345,20 @@ Description:       If 'addr' is written to the 'type' file, writing to or reading
                from this file sets or gets the end address of the address
                range for the filter.
 
+What:          /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/min
+Date:          Feb 2025
+Contact:       SeongJae Park <sj@kernel.org>
+Description:   If 'hugepage_size' is written to the 'type' file, writing to
+               or reading from this file sets or gets the minimum size of the
+               hugepage for the filter.
+
+What:          /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/max
+Date:          Feb 2025
+Contact:       SeongJae Park <sj@kernel.org>
+Description:   If 'hugepage_size' is written to the 'type' file, writing to
+               or reading from this file sets or gets the maximum size of the
+               hugepage for the filter.
+
 What:          /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/target_idx
 Date:          Dec 2022
 Contact:       SeongJae Park <sj@kernel.org>