Skip to content

RFC mm/damon: add lru-active probe filter type

SJ Park damon linux-doc linux-mm lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4mm/damon/api: define DAMON_FILTER_TYPE_ACTIVEinclude/linux/damon.h+2 -00 replies
2/4mm/damon/ops-common: implement DAMON_FILTER_TYPE_ACTIVE operationmm/damon/ops-common.c+7 -00 replies
3/4mm/damon/sysfs: support LRU-activeness based DAMON filter setupmm/damon/sysfs.c+4 -00 replies
4/4Docs/mm/damon/design: update for DAMON_FILTER_TYPE_ACTIVEDocumentation/mm/damon/design.rst+1 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC PATCH 0/4] mm/damon: add lru-active probe filter type

The LRU-activeness of folios is useful information for understanding and optimizing the system. DAMOS ops filter therefore supports filtering memory based on the information. Using it, the information can be extracted in the folio granularity. It is precise but expensive. DAMON probe filter is the complementary way for getting the information in region granularity with much cheaper cost. DAMON filter does not support LRU-activeness based filtering, though. Add the support.

Define new DAMON filter type, DAMON_FILTER_TYPE_ACTIVE, on core API (patch 1). Add support for it on both vaddr and paddr operation set (patch 2). Extend DAMON filter sysfs ABI to let users configure DAMON filters of the type using a new keyword, "active" (patch 3). Finally, update the DAMON design document to explain the new type (patch 4).

SJ Park (4):
mm/damon/api: define DAMON_FILTER_TYPE_ACTIVE mm/damon/ops-common: implement DAMON_FILTER_TYPE_ACTIVE operation mm/damon/sysfs: support LRU-activeness based DAMON filter setup Docs/mm/damon/design: update for DAMON_FILTER_TYPE_ACTIVE

 Documentation/mm/damon/design.rst | 1 +
 include/linux/damon.h             | 2 ++
 mm/damon/ops-common.c             | 7 +++++++
 mm/damon/sysfs.c                  | 4 ++++
 4 files changed, 14 insertions(+)

base-commit: 50061821991431146db6bd16b571742c06146d30

Signature · 1 line
2.47.3