]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Docs/ABI/damon: document nid file
authorSeongJae Park <sj@kernel.org>
Sun, 20 Apr 2025 19:40:29 +0000 (12:40 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 13 May 2025 06:50:30 +0000 (23:50 -0700)
Add a description of 'nid' file, which is optionally used for specific
DAMOS quota goal metrics such as node_mem_{used,free}_bp on the DAMON
sysfs ABI document.

Link: https://lkml.kernel.org/r/20250420194030.75838-7-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Yunjeong Mun <yunjeong.mun@sk.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/ABI/testing/sysfs-kernel-mm-damon

index 293197f180ade957eed082d09218680e6b8efc8d..5697ab154c1f104a55bc016baca30463e97dd5f2 100644 (file)
@@ -283,6 +283,12 @@ Contact:   SeongJae Park <sj@kernel.org>
 Description:   Writing to and reading from this file sets and gets the current
                value of the goal metric.
 
+What:          /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/goals/<G>/nid
+Date:          Apr 2025
+Contact:       SeongJae Park <sj@kernel.org>
+Description:   Writing to and reading from this file sets and gets the nid
+               parameter of the goal.
+
 What:          /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/weights/sz_permil
 Date:          Mar 2022
 Contact:       SeongJae Park <sj@kernel.org>