From: Mattathias Pinchover Update DAMON usage document for the newly added DAMOS stat file, sz_ops_filter_passed_last. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Mattathias Pinchover --- Documentation/admin-guide/mm/damon/usage.rst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Documentation/admin-guide/mm/damon/usage.rst b/Documentation/admin-guide/mm/damon/usage.rst index 6093b1c8fbfd..51c4909f1a8b 100644 --- a/Documentation/admin-guide/mm/damon/usage.rst +++ b/Documentation/admin-guide/mm/damon/usage.rst @@ -105,7 +105,10 @@ comma (","). │ │ │ │ │ │ │ │ 0/type,matching,allow,memcg_path,addr_start,addr_end,damon_target_idx,min,max │ │ │ │ │ │ │ :ref:`dests `/nr_dests │ │ │ │ │ │ │ │ 0/id,weight - │ │ │ │ │ │ │ :ref:`stats `/nr_tried,sz_tried,nr_applied,sz_applied,sz_ops_filter_passed,qt_exceeds,nr_snapshots,max_nr_snapshots + │ │ │ │ │ │ │ :ref:`stats `/nr_tried,sz_tried, + │ │ │ │ │ │ │ nr_applied,sz_applied,sz_ops_filter_passed, + │ │ │ │ │ │ │ sz_ops_filter_passed_last,qt_exceeds,nr_snapshots, + │ │ │ │ │ │ │ max_nr_snapshots │ │ │ │ │ │ │ :ref:`tried_regions `/total_bytes │ │ │ │ │ │ │ │ 0/start,end,nr_accesses,age,sz_filter_passed │ │ │ │ │ │ │ │ │ probes @@ -631,8 +634,8 @@ online analysis or tuning of the schemes. Refer to :ref:`design doc The statistics can be retrieved by reading the files under ``stats`` directory (``nr_tried``, ``sz_tried``, ``nr_applied``, ``sz_applied``, -``sz_ops_filter_passed``, ``qt_exceeds``, ``nr_snapshots`` and -``max_nr_snapshots``), respectively. +``sz_ops_filter_passed``, ``sz_ops_filter_passed_last``, +``qt_exceeds``, ``nr_snapshots`` and ``max_nr_snapshots``), respectively. The files are not updated in real time by default. Users should ask DAMON sysfs interface to periodically update those using ``refresh_ms``, or do a one -- 2.54.0-uber3