To help online access pattern analysis and tuning of DAMON-based Operation Schemes (DAMOS), DAMOS provides simple statistics for each scheme. Introduction of DAMOS time/space quota further made the tuning easier by making the risk management easier. However, that also made understanding of the working schemes a little bit more difficult. For an example, progress of a given scheme can now be throttled by not only the aggressiveness of the target access pattern, but also the time/space quotas. So, when a scheme is showing unexpectedly slow progress, it's difficult to know by what the progress of the scheme is throttled, with currently provided statistics. This patchset extends the statistics to contain some metrics that can be helpful for such online schemes analysis and tuning (patches 1-2), exports those to users (patches 3 and 5), and add documents (patches 4 and 6). SeongJae Park (6): mm/damon/schemes: Account scheme actions that successfully applied mm/damon/schemes: Account how many times quota limit has exceeded mm/damon/reclaim: Provide reclamation statistics Docs/admin-guide/mm/damon/reclaim: Document statistics parameters mm/damon/dbgfs: Support all DAMOS stats Docs/admin-guide/mm/damon/usage: Update for schemes statistics .../admin-guide/mm/damon/reclaim.rst | 25 ++++++++++ Documentation/admin-guide/mm/damon/usage.rst | 9 ++-- include/linux/damon.h | 30 +++++++++--- mm/damon/core.c | 15 ++++-- mm/damon/dbgfs.c | 6 ++- mm/damon/paddr.c | 13 +++--- mm/damon/reclaim.c | 46 +++++++++++++++++++ mm/damon/vaddr.c | 30 ++++++------ 8 files changed, 136 insertions(+), 38 deletions(-) -- 2.17.1