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

From: SeongJae Park
Date: Tue Dec 16 2025 - 03:43:32 EST


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

Signed-off-by: SeongJae Park <sj@xxxxxxxxxx>
---
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@xxxxxxxxxx>
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@xxxxxxxxxx>
+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@xxxxxxxxxx>
--
2.47.3