]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Docs/ABI/damon: update for max_nr_snapshots
authorSeongJae Park <sj@kernel.org>
Tue, 16 Dec 2025 08:01:24 +0000 (00:01 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 21 Jan 2026 03:24:46 +0000 (19:24 -0800)
Update DAMON ABI document for the newly added DAMON sysfs interface file,
max_nr_snapshots.

Link: https://lkml.kernel.org/r/20251216080128.42991-12-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Liam Howlett <liam.howlett@oracle.com>
Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Cc: "Masami Hiramatsu (Google)" <mhiramat@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/ABI/testing/sysfs-kernel-mm-damon

index 7571aa78b7bb5b3752dc06f7476d8f65fe5baec1..f2af2ddedd323977afb55ef8d1fa5f737f1082ad 100644 (file)
@@ -522,6 +522,13 @@ Contact:   SeongJae Park <sj@kernel.org>
 Description:   Reading this file returns the total number of DAMON snapshots
                that the scheme has tried to be applied.
 
+What:          /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/max_nr_snapshots
+Date:          Dec 2025
+Contact:       SeongJae Park <sj@kernel.org>
+Description:   Writing a number to this file sets the upper limit of
+               nr_snapshots that deactivates the scheme when the limit is
+               reached or exceeded.
+
 What:          /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/total_bytes
 Date:          Jul 2023
 Contact:       SeongJae Park <sj@kernel.org>