RFC mm/damon: add lru-active probe filter type
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | mm/damon/api: define DAMON_FILTER_TYPE_ACTIVEinclude/ | +2 | 0 replies | |
| 2/4 | mm/damon/ops-common: implement DAMON_FILTER_TYPE_ACTIVE operationmm/ | +7 | 0 replies | |
| 3/4 | mm/damon/sysfs: support LRU-activeness based DAMON filter setupmm/ | +4 | 0 replies | |
| 4/4 | Docs/mm/damon/design: update for DAMON_FILTER_TYPE_ACTIVEDocumentation/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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