Skip to content

Extedn DAMOS filters for address ranges and DAMON monitoring targets

SeongJae Park damon linux-doc linux-kselftest linux-mm lkml 1 version Applied

Status from this message: [merged mm-stable] docs-abi-damon-update-for-damon-monitoring-target-type-damos-filter.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 0 repliesApplied 13/13

Patches in v1 All 13 applied

#Subject and filesSizeRepliesApplied
1/13mm/damon/core: introduce address range type damos filterinclude/linux/damon.h mm/damon/core.c+68 -60 repliesApplied
2/13mm/damon/sysfs-schemes: support address range type DAMOS filtermm/damon/sysfs-schemes.c+56 -00 repliesApplied
3/13mm/damon/core-test: add a unit test for __damos_filter_out()mm/damon/core-test.h+61 -00 repliesApplied
4/13selftests/damon/sysfs: test address range damos filtertools/testing/selftests/damon/sysfs.sh+3 -00 repliesApplied
5/13Docs/mm/damon/design: update for address range filtersDocumentation/mm/damon/design.rst+15 -60 repliesApplied
6/13Docs/ABI/damon: update for address range DAMOS filterDocumentation/ABI/testing/sysfs-kernel-mm-damon+18 -20 repliesApplied
7/13Docs/admin-guide/mm/damon/usage: update for address range type DAMOS filterDocumentation/admin-guide/mm/damon/usage.rst+20 -110 repliesApplied
8/13mm/damon/core: implement target type damos filterinclude/linux/damon.h mm/damon/core.c+22 -60 repliesApplied
9/13mm/damon/sysfs-schemes: support target damos filtermm/damon/sysfs-schemes.c+27 -00 repliesApplied
10/13selftests/damon/sysfs: test damon_target filtertools/testing/selftests/damon/sysfs.sh+2 -00 repliesApplied
11/13Docs/mm/damon/design: update for DAMON monitoring target type DAMOS filterDocumentation/mm/damon/design.rst+18 -150 repliesApplied
12/13Docs/ABI/damon: update for DAMON monitoring target type DAMOS filterDocumentation/ABI/testing/sysfs-kernel-mm-damon+9 -20 repliesApplied
13/13Docs/admin-guide/mm/damon/usage: update for DAMON monitoring target type DAMOS filterDocumentation/admin-guide/mm/damon/usage.rst+20 -170 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/13] Extedn DAMOS filters for address ranges and DAMON monitoring targets

Changes from RFC[1]
- Rebase on latest mm-unstable
- Add base-commit

----

There are use cases that need to apply DAMOS schemes to specific address ranges or DAMON monitoring targets. NUMA nodes in the physical address space, special memory objects in the virtual address space, and monitoring target specific efficient monitoring results snapshot retrieval could be examples of such use cases. This patchset extends DAMOS filters feature for such cases, by implementing two more filter types, namely address ranges and DAMON monitoring types.

Patches sequence
----------------

The first seven patches are for the address ranges based DAMOS filter. The first patch implements the filter feature and expose it via DAMON kernel API. The second patch further expose the feature to users via DAMON sysfs interface. The third and fourth patches implement unit tests and selftests for the feature. Three patches (fifth to seventh) updating the documents follow.

The following six patches are for the DAMON monitoring target based DAMOS filter. The eighth patch implements the feature in the core layer and expose it via DAMON's kernel API. The ninth patch further expose it to users via DAMON sysfs interface. Tenth patch add a selftest, and two patches (eleventh and twelfth) update documents.

[1] https://lore.kernel.org/damon/[email protected]/

SeongJae Park (13):
mm/damon/core: introduce address range type damos filter mm/damon/sysfs-schemes: support address range type DAMOS filter mm/damon/core-test: add a unit test for __damos_filter_out() selftests/damon/sysfs: test address range damos filter Docs/mm/damon/design: update for address range filters Docs/ABI/damon: update for address range DAMOS filter Docs/admin-guide/mm/damon/usage: update for address range type DAMOS
filter
mm/damon/core: implement target type damos filter mm/damon/sysfs-schemes: support target damos filter selftests/damon/sysfs: test damon_target filter Docs/mm/damon/design: update for DAMON monitoring target type DAMOS
filter
Docs/ABI/damon: update for DAMON monitoring target type DAMOS filter Docs/admin-guide/mm/damon/usage: update for DAMON monitoring target
type DAMOS filter

 .../ABI/testing/sysfs-kernel-mm-damon         | 27 +++++-
 Documentation/admin-guide/mm/damon/usage.rst  | 34 +++++---
 Documentation/mm/damon/design.rst             | 24 ++++--
 include/linux/damon.h                         | 28 +++++--
 mm/damon/core-test.h                          | 61 ++++++++++++++
 mm/damon/core.c                               | 62 ++++++++++++++
 mm/damon/sysfs-schemes.c                      | 83 +++++++++++++++++++
 tools/testing/selftests/damon/sysfs.sh        |  5 ++
 8 files changed, 299 insertions(+), 25 deletions(-)

base-commit: 32f9db36a0031f99629b5910d795b3f13f284472

Signature · 1 line
2.25.1