Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Docs/admin-guide/mm/damon/usage: update for max_nr_snapshots

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

Link: https://lkml.kernel.org/r/20251216080128.42991-11-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>

authored by

SeongJae Park and committed by
Andrew Morton
2584dd74 64aa87f0

+6 -5
+6 -5
Documentation/admin-guide/mm/damon/usage.rst
··· 87 87 │ │ │ │ │ │ │ │ 0/type,matching,allow,memcg_path,addr_start,addr_end,target_idx,min,max 88 88 │ │ │ │ │ │ │ :ref:`dests <damon_sysfs_dests>`/nr_dests 89 89 │ │ │ │ │ │ │ │ 0/id,weight 90 - │ │ │ │ │ │ │ :ref:`stats <sysfs_schemes_stats>`/nr_tried,sz_tried,nr_applied,sz_applied,sz_ops_filter_passed,qt_exceeds,nr_snapshots 90 + │ │ │ │ │ │ │ :ref:`stats <sysfs_schemes_stats>`/nr_tried,sz_tried,nr_applied,sz_applied,sz_ops_filter_passed,qt_exceeds,nr_snapshots,max_nr_snapshots 91 91 │ │ │ │ │ │ │ :ref:`tried_regions <sysfs_schemes_tried_regions>`/total_bytes 92 92 │ │ │ │ │ │ │ │ 0/start,end,nr_accesses,age,sz_filter_passed 93 93 │ │ │ │ │ │ │ │ ... ··· 543 543 544 544 The statistics can be retrieved by reading the files under ``stats`` directory 545 545 (``nr_tried``, ``sz_tried``, ``nr_applied``, ``sz_applied``, 546 - ``sz_ops_filter_passed``, ``qt_exceeds`` and ``nr_snapshots``), respectively. 547 - The files are not updated in real time, so you should ask DAMON sysfs interface 548 - to update the content of the files for the stats by writing a special keyword, 549 - ``update_schemes_stats`` to the relevant ``kdamonds/<N>/state`` file. 546 + ``sz_ops_filter_passed``, ``qt_exceeds``, ``nr_snapshots`` and 547 + ``max_nr_snapshots``), respectively. The files are not updated in real time, 548 + so you should ask DAMON sysfs interface to update the content of the files for 549 + the stats by writing a special keyword, ``update_schemes_stats`` to the 550 + relevant ``kdamonds/<N>/state`` file. 550 551 551 552 .. _sysfs_schemes_tried_regions: 552 553