All of lore.kernel.org
 help / color / mirror / Atom feed
From: SJ Park <sj@kernel.org>
To: Song Hu <husong@kylinos.cn>
Cc: SJ Park <sj@kernel.org>,
	damon@lists.linux.dev, linux-mm@kvack.org,
	linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org
Subject: Re: [PATCH 3/4] Docs/ABI/damon: document update_tuned_intervals state command
Date: Fri, 10 Jul 2026 07:24:15 -0700	[thread overview]
Message-ID: <20260710142416.25073-1-sj@kernel.org> (raw)
In-Reply-To: <20260710044737.561102-4-husong@kylinos.cn>

On Fri, 10 Jul 2026 12:47:36 +0800 Song Hu <husong@kylinos.cn> 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@kylinos.cn>

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

> ---
>  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

  reply	other threads:[~2026-07-10 14:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-10  4:47 [PATCH 0/4] Docs/ABI/damon: sysfs ABI document fixes and additions Song Hu
2026-07-10  4:47 ` [PATCH 1/4] Docs/ABI/damon: fix typo in intervals_goal sysfs path Song Hu
2026-07-10 14:17   ` SJ Park
2026-07-11  0:21     ` SJ Park
2026-07-11  5:04       ` Song Hu
2026-07-10  4:47 ` [PATCH 2/4] Docs/ABI/damon: fix typos Song Hu
2026-07-10 14:18   ` SJ Park
2026-07-10  4:47 ` [PATCH 3/4] Docs/ABI/damon: document update_tuned_intervals state command Song Hu
2026-07-10 14:24   ` SJ Park [this message]
2026-07-10  4:47 ` [PATCH 4/4] Docs/ABI/damon: document tried_regions probe hits Song Hu
2026-07-10 14:25   ` SJ Park
2026-07-10 14:16 ` [PATCH 0/4] Docs/ABI/damon: sysfs ABI document fixes and additions SJ Park
2026-07-10 14:28   ` SJ Park

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260710142416.25073-1-sj@kernel.org \
    --to=sj@kernel.org \
    --cc=damon@lists.linux.dev \
    --cc=husong@kylinos.cn \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.