Re: [PATCH 3/4] Docs/ABI/damon: document update_tuned_intervals state command

From: SJ Park

Date: Fri Jul 10 2026 - 10:24:37 EST


On Fri, 10 Jul 2026 12:47:36 +0800 Song Hu <husong@xxxxxxxxxx> wrote:

> The 'update_tuned_intervals' command of the 'state' file, added in
> commit 1077605396b4 ("mm/damon/sysfs: implement a command to update
> auto-tuned monitoring intervals"), is described in usage.rst but
> missing from the canonical ABI document. Add it.

I initially thought this information is better to be only in usage document.
But, ABI doc is already describing all the inputs. So, this looks good to me
now.

>
> Signed-off-by: Song Hu <husong@xxxxxxxxxx>

Reviewed-by: SJ Park <sj@xxxxxxxxxx>

> ---
> Documentation/ABI/testing/sysfs-kernel-mm-damon | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/ABI/testing/sysfs-kernel-mm-damon b/Documentation/ABI/testing/sysfs-kernel-mm-damon
> index 03aecc07a5bd..7e8192527191 100644
> --- a/Documentation/ABI/testing/sysfs-kernel-mm-damon
> +++ b/Documentation/ABI/testing/sysfs-kernel-mm-damon
> @@ -36,7 +36,10 @@ Description: Writing 'on' or 'off' to this file makes the kdamond starts or
> kdamond. Writing 'clear_schemes_tried_regions' to the file
> removes contents of the 'tried_regions' directory. Writing
> 'update_schemes_effective_quotas' to the file updates
> - '.../quotas/effective_bytes' files of this kdamond.
> + '.../quotas/effective_bytes' files of this kdamond. Writing
> + 'update_tuned_intervals' to the file updates 'sample_us' and
> + 'aggr_us' files under 'monitoring_attrs/intervals' with the
> + auto-tuned sampling and aggregation intervals.
>
> What: /sys/kernel/mm/damon/admin/kdamonds/<K>/pid
> Date: Mar 2022
> --
> 2.43.0


Thanks,
SJ