diff mbox series

[v4,5/6] Docs/ABI/damon: document DAMOS sysfs files to set the min/max folio_size

Message ID 20250203225604.44742-6-usamaarif642@gmail.com (mailing list archive)
State New
Headers show
Series mm/damon: add support for hugepages | expand

Commit Message

Usama Arif Feb. 3, 2025, 10:55 p.m. UTC
This will be used to decide the min and max folio size to operate on
for pa_stat.

Signed-off-by: Usama Arif <usamaarif642@gmail.com>
---
 Documentation/ABI/testing/sysfs-kernel-mm-damon | 12 ++++++++++++
 1 file changed, 12 insertions(+)

Comments

SeongJae Park Feb. 4, 2025, 11:13 p.m. UTC | #1
On Mon,  3 Feb 2025 22:55:32 +0000 Usama Arif <usamaarif642@gmail.com> wrote:

> This will be used to decide the min and max folio size to operate on
> for pa_stat.
> 
> Signed-off-by: Usama Arif <usamaarif642@gmail.com>

Other than the trivial comment below, looks good to me.

Reviewed-by: SeongJae Park <sj@kernel.org>

> ---
>  Documentation/ABI/testing/sysfs-kernel-mm-damon | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
> 
> diff --git a/Documentation/ABI/testing/sysfs-kernel-mm-damon b/Documentation/ABI/testing/sysfs-kernel-mm-damon
> index b057eddefbfc..07daaae3dd16 100644
> --- a/Documentation/ABI/testing/sysfs-kernel-mm-damon
> +++ b/Documentation/ABI/testing/sysfs-kernel-mm-damon
> @@ -345,6 +345,18 @@ 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:		Jan 2025

Nit.  It's February now :)

> +Contact:	SeongJae Park <sj@kernel.org>
> +Description:	If 'hugepage' 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:		Jan 2025

Ditto.

> +Contact:	SeongJae Park <sj@kernel.org>
> +Description:	If 'hugepage' 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>
> -- 
> 2.43.5


Thanks,
SJ
diff mbox series

Patch

diff --git a/Documentation/ABI/testing/sysfs-kernel-mm-damon b/Documentation/ABI/testing/sysfs-kernel-mm-damon
index b057eddefbfc..07daaae3dd16 100644
--- a/Documentation/ABI/testing/sysfs-kernel-mm-damon
+++ b/Documentation/ABI/testing/sysfs-kernel-mm-damon
@@ -345,6 +345,18 @@  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:		Jan 2025
+Contact:	SeongJae Park <sj@kernel.org>
+Description:	If 'hugepage' 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:		Jan 2025
+Contact:	SeongJae Park <sj@kernel.org>
+Description:	If 'hugepage' 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>