]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
Docs/ABI/damon: document DAMOS filter allow sysfs file
authorSeongJae Park <sj@kernel.org>
Thu, 9 Jan 2025 17:51:24 +0000 (09:51 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Sun, 26 Jan 2025 04:22:32 +0000 (20:22 -0800)
Update DAMON ABI document for added DAMOS filter 'allow' file.

Link: https://lkml.kernel.org/r/20250109175126.57878-9-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/ABI/testing/sysfs-kernel-mm-damon

index 8c0acb31638b096fb3fc3b2791b7f62386cef588..b057eddefbfc9a85a5a2e8752cb50fb34ea96606 100644 (file)
@@ -355,10 +355,15 @@ Description:      If 'target' is written to the 'type' file, writing to or
 What:          /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/matching
 Date:          Dec 2022
 Contact:       SeongJae Park <sj@kernel.org>
-Description:   Writing 'Y' or 'N' to this file sets whether to filter out
-               pages that do or do not match to the 'type' and 'memcg_path',
-               respectively.  Filter out means the action of the scheme will
-               not be applied to.
+Description:   Writing 'Y' or 'N' to this file sets whether the filter is for
+               the memory of the 'type', or all except the 'type'.
+
+What:          /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/allow
+Date:          Jan 2025
+Contact:       SeongJae Park <sj@kernel.org>
+Description:   Writing 'Y' or 'N' to this file sets whether to allow or reject
+               applying the scheme's action to the memory that satisfies the
+               'type' and the 'matching' of the directory.
 
 What:          /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/nr_tried
 Date:          Mar 2022