Commit 807db03c authored by Usama Arif's avatar Usama Arif Committed by Andrew Morton
Browse files

Docs/ABI/damon: document DAMOS sysfs files to set the min/max folio_size

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: default avatarUsama Arif <usamaarif642@gmail.com>
Reviewed-by: default avatarSeongJae Park <sj@kernel.org>
Cc: David Hildenbrand <david@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent ea1f204b
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -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>