Patch Sequence ============== The first patch (patch 1) implements two new quota goal metrics on core layer and expose it to DAMON core kernel API. The second and third ones (patches 2 and 3) further link it to DAMON sysfs interface. Three following patches (patches 4-6) document the new feature and sysfs file on design, usage, and ABI documents. The final one (patch 7) implements a working version of a self-tuned DAMON-based memory tiering solution in an incomplete but easy to understand form as a kernel module under samples/damon/ directory. References ========== [1] https://lore.kernel.org/20231112195602.61525-1-sj@xxxxxxxxxx/ [2] https://lore.kernel.org/20250303221726.484227-1-sj@xxxxxxxxxx [3] https://github.com/facebookresearch/DCPerf/blob/main/packages/tao_bench/README.md SeongJae Park (7): mm/damon/core: introduce damos quota goal metrics for memory node utilization mm/damon/sysfs-schemes: implement file for quota goal nid parameter mm/damon/sysfs-schemes: connect damos_quota_goal nid with core layer Docs/mm/damon/design: document node_mem_{used,free}_bp Docs/admin-guide/mm/damon/usage: document 'nid' file Docs/ABI/damon: document nid file samples/damon: implement a DAMON module for memory tiering .../ABI/testing/sysfs-kernel-mm-damon | 6 + Documentation/admin-guide/mm/damon/usage.rst | 12 +- Documentation/mm/damon/design.rst | 13 +- include/linux/damon.h | 6 + mm/damon/core.c | 27 +++ mm/damon/sysfs-schemes.c | 40 ++++- samples/damon/Kconfig | 13 ++ samples/damon/Makefile | 1 + samples/damon/mtier.c | 167 ++++++++++++++++++ 9 files changed, 274 insertions(+), 11 deletions(-) create mode 100644 samples/damon/mtier.c base-commit: 449d17baba9648a901928d38eee56f914b39248e -- 2.39.5