summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLiew Rui Yan <aethernet65535@gmail.com>2026-08-31 08:02:24 -0700
committerAndrew Morton <akpm@linux-foundation.org>2026-10-06 17:39:13 -0700
commitb9a7f3fe3cc78b4d1a4cf571f2a9737834780784 (patch)
treea764785781ef281901d7a442d4cf3e433b2780d7 /include/linux
parent83f66bed09f774a9f69c3d46fb724f2264c89206 (diff)
docs/mm/damon/design: accurate semantics of nr_snapshots
Patch series "docs/mm/damon/design: add explanation of nr_snapshots", v3. Add an explanation of nr_snapshots to avoid misunderstandings. This patch (of 3): Change "tried to be applied" -> "completely tried to be applied" to maintain consistency between the documentation and the code. Link: https://lore.kernel.org/20260831150227.83416-1-sj@kernel.org Link: https://lore.kernel.org/20260831150227.83416-2-sj@kernel.org Signed-off-by: Liew Rui Yan <aethernet65535@gmail.com> Signed-off-by: SJ Park <sj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: SJ Park <sj@kernel.org> Cc: David Hildenbrand <david@kernel.org> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Liam R. Howlett <liam@infradead.org> Cc: Lorenzo Stoakes <ljs@kernel.org> Cc: Michal Hocko <mhocko@suse.com> Cc: Mike Rapoport <rppt@kernel.org> Cc: Randy Dunlap <rdunlap@infradead.org> Cc: Suren Baghdasaryan <surenb@google.com> Cc: Vlastimil Babka <vbabka@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/damon.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/damon.h b/include/linux/damon.h
index 0c8b7ddef9ab..cbdf5f77978e 100644
--- a/include/linux/damon.h
+++ b/include/linux/damon.h
@@ -357,7 +357,8 @@ struct damos_watermarks {
* Total bytes that passed ops layer-handled DAMOS filters.
* @qt_exceeds: Total number of times the quota of the scheme has exceeded.
* @nr_snapshots:
- * Total number of DAMON snapshots that the scheme has tried.
+ * Total number of DAMON snapshots that the scheme is completely
+ * tried to be applied.
*
* "Tried an action to a region" in this context means the DAMOS core logic
* determined the region as eligible to apply the action. The access pattern