Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Docs/admin-guide/mm/damon/usage: document DAMOS quota goal path file

A new DAMON sysfs interface file, namely 'path' has been added under DAMOS
quota goal directory, for specifying the cgroup for
DAMOS_QUOTA_NODE_MEMCG_{USED,FREE}_BP metrics. Document it on the usage
document.

Link: https://lkml.kernel.org/r/20251017212706.183502-10-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

SeongJae Park and committed by
Andrew Morton
87b83515 4cc00d41

+4 -4
+4 -4
Documentation/admin-guide/mm/damon/usage.rst
··· 81 81 │ │ │ │ │ │ │ :ref:`quotas <sysfs_quotas>`/ms,bytes,reset_interval_ms,effective_bytes 82 82 │ │ │ │ │ │ │ │ weights/sz_permil,nr_accesses_permil,age_permil 83 83 │ │ │ │ │ │ │ │ :ref:`goals <sysfs_schemes_quota_goals>`/nr_goals 84 - │ │ │ │ │ │ │ │ │ 0/target_metric,target_value,current_value,nid 84 + │ │ │ │ │ │ │ │ │ 0/target_metric,target_value,current_value,nid,path 85 85 │ │ │ │ │ │ │ :ref:`watermarks <sysfs_watermarks>`/metric,interval_us,high,mid,low 86 86 │ │ │ │ │ │ │ :ref:`{core_,ops_,}filters <sysfs_filters>`/nr_filters 87 87 │ │ │ │ │ │ │ │ 0/type,matching,allow,memcg_path,addr_start,addr_end,target_idx,min,max ··· 402 402 to ``N-1``. Each directory represents each goal and current achievement. 403 403 Among the multiple feedback, the best one is used. 404 404 405 - Each goal directory contains four files, namely ``target_metric``, 406 - ``target_value``, ``current_value`` and ``nid``. Users can set and get the 407 - four parameters for the quota auto-tuning goals that specified on the 405 + Each goal directory contains five files, namely ``target_metric``, 406 + ``target_value``, ``current_value`` ``nid`` and ``path``. Users can set and 407 + get the five parameters for the quota auto-tuning goals that specified on the 408 408 :ref:`design doc <damon_design_damos_quotas_auto_tuning>` by writing to and 409 409 reading from each of the files. Note that users should further write 410 410 ``commit_schemes_quota_goals`` to the ``state`` file of the :ref:`kdamond