[PATCH 11/12] Docs/ABI/damon: update for max_nr_snapshots

SeongJae Park
2025-12-16T08:02:03Z

Update DAMON ABI document for the newly added DAMON sysfs interface
file, max_nr_snapshots.

Signed-off-by: SeongJae Park <sj@kernel.org>
---
Documentation/ABI/testing/sysfs-kernel-mm-damon | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/Documentation/ABI/testing/sysfs-kernel-mm-damon b/Documentation/ABI/testing/sysfs-kernel-mm-damon
index 7571aa78b7bb..f2af2ddedd32 100644
--- a/Documentation/ABI/testing/sysfs-kernel-mm-damon
+++ b/Documentation/ABI/testing/sysfs-kernel-mm-damon
@@ -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//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//tried_regions/total_bytes
Date: Jul 2023
Contact: SeongJae Park <sj@kernel.org>
--
2.47.3