The patch titled Subject: Docs/admin-guide/damon/usage: trivial fixups for DAMOS_MIGRATE_{HOT,COLD} documetnation has been added to the -mm mm-unstable branch. Its filename is docs-damon-document-damos_migrate_hotcold-fix.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/docs-damon-document-damos_migrate_hotcold-fix.patch This patch will later appear in the mm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: SeongJae Park <sj@xxxxxxxxxx> Subject: Docs/admin-guide/damon/usage: trivial fixups for DAMOS_MIGRATE_{HOT,COLD} documetnation Date: Tue, 18 Jun 2024 14:36:29 -0700 Fixup below three trivial issues in DAMOS_MIGRATE_{HOT,COLD} usage documentation[1,2]. 1. Add target_nid on sysfs files hierarchy 2. Fix scheme directory section to mention target_nid file 3. Explain target_nid before apply_interval_us Link: https://lkml.kernel.org/r/20240618213630.84846-2-sj@xxxxxxxxxx Fixes: c100fc71858a ("Docs/damon: document damos_migrate_{hot,cold}") # mm-unstable [1] Link: https://lore.kernel.org/20240614030010.751-8-honggyu.kim@xxxxxx # [2]Signed-off-by: SeongJae Park <sj@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- Documentation/admin-guide/mm/damon/usage.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) --- a/Documentation/admin-guide/mm/damon/usage.rst~docs-damon-document-damos_migrate_hotcold-fix +++ a/Documentation/admin-guide/mm/damon/usage.rst @@ -78,7 +78,7 @@ comma (","). â?? â?? â?? â?? â?? â?? â?? â?? ... â?? â?? â?? â?? â?? â?? ... â?? â?? â?? â?? â?? :ref:`schemes <sysfs_schemes>`/nr_schemes - â?? â?? â?? â?? â?? â?? :ref:`0 <sysfs_scheme>`/action,apply_interval_us + â?? â?? â?? â?? â?? â?? :ref:`0 <sysfs_scheme>`/action,target_nid,apply_interval_us â?? â?? â?? â?? â?? â?? â?? :ref:`access_pattern <sysfs_access_pattern>`/ â?? â?? â?? â?? â?? â?? â?? â?? sz/min,max â?? â?? â?? â?? â?? â?? â?? â?? nr_accesses/min,max @@ -289,21 +289,21 @@ schemes/<N>/ ------------ In each scheme directory, five directories (``access_pattern``, ``quotas``, -``watermarks``, ``filters``, ``stats``, and ``tried_regions``) and two files -(``action`` and ``apply_interval``) exist. +``watermarks``, ``filters``, ``stats``, and ``tried_regions``) and three files +(``action``, ``target_nid`` and ``apply_interval``) exist. The ``action`` file is for setting and getting the scheme's :ref:`action <damon_design_damos_action>`. The keywords that can be written to and read from the file and their meaning are same to those of the list on :ref:`design doc <damon_design_damos_action>`. -The ``apply_interval_us`` file is for setting and getting the scheme's -:ref:`apply_interval <damon_design_damos>` in microseconds. - The ``target_nid`` file is for setting the migration target node, which is only meaningful when the ``action`` is either ``migrate_hot`` or ``migrate_cold``. +The ``apply_interval_us`` file is for setting and getting the scheme's +:ref:`apply_interval <damon_design_damos>` in microseconds. + .. _sysfs_access_pattern: schemes/<N>/access_pattern/ _ Patches currently in -mm which might be from sj@xxxxxxxxxx are docs-damon-document-damos_migrate_hotcold-fix.patch mm-damon-core-implement-damos-quota-goals-online-commit-function.patch mm-damon-core-implement-damon-context-commit-function.patch mm-damon-sysfs-use-damon_commit_ctx.patch mm-damon-sysfs-schemes-use-damos_commit_quota_goals.patch mm-damon-sysfs-remove-unnecessary-online-tuning-handling-code.patch mm-damon-sysfs-rename-damon_sysfs_set_targets-to-add_targets.patch mm-damon-sysfs-schemes-remove-unnecessary-online-tuning-handling-code.patch mm-damon-sysfs-schemes-rename-_set_schemesscheme_filtersquota_scoreschemes.patch mm-damon-reclaim-use-damon_commit_ctx.patch mm-damon-reclaim-remove-unnecessary-code-for-online-tuning.patch mm-damon-lru_sort-use-damon_commit_ctx.patch mm-damon-lru_sort-remove-unnecessary-online-tuning-handling-code.patch docs-abi-damon-document-target_nid-file.patch