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

Link: https://lkml.kernel.org/r/20251216080128.42991-6-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 4fb8b7a6d625ae39643bef6c60ab2a285f59b6d0..7571aa78b7bb5b3752dc06f7476d8f65fe5baec1 100644 (file)
@@ -516,6 +516,12 @@ Contact:   SeongJae Park <sj@kernel.org>
 Description:   Reading this file returns the number of the exceed events of
                the scheme's quotas.
 
+What:          /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/nr_snapshots
+Date:          Dec 2025
+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>/tried_regions/total_bytes
 Date:          Jul 2023
 Contact:       SeongJae Park <sj@kernel.org>