Skip to content

RFC mm/damon: Add CMA minotor support

Xin Hao linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mm/damon: rename damon_evenly_split_region()mm/damon/ops-common.c mm/damon/ops-common.h mm/damon/vaddr-test.h +1 more+46 -430 replies
2/3mm/damon/paddr: Move "paddr" relative func to ops-common.c filemm/damon/ops-common.c mm/damon/ops-common.h mm/damon/paddr.c+262 -2460 replies
3/3mm/damon/sysfs: Add CMA memory monitoringinclude/linux/damon.h mm/damon/Makefile mm/damon/paddr-cma.c +1 more+107 -10 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 V1 0/3] mm/damon: Add CMA minotor support

The purpose of these patches is to add CMA memory monitoring function. In some memory tight scenarios, it will be a good choice to release more memory by monitoring the CMA memory.

These patches is only preliminarily for monitoring function, About the reclaim, it need to do some fixes base on "reclaim.c" and more tests, I will implement it in the next patch series.

Xin Hao (3):
mm/damon: rename damon_evenly_split_region() mm/damon/paddr: Move "paddr" relative func to ops-common.c file mm/damon/sysfs: Add CMA memory monitoring

 include/linux/damon.h |   1 +
 mm/damon/Makefile     |   2 +-
 mm/damon/ops-common.c | 286 ++++++++++++++++++++++++++++++++++++++++++
 mm/damon/ops-common.h |  18 +++
 mm/damon/paddr-cma.c  | 104 +++++++++++++++
 mm/damon/paddr.c      | 246 ------------------------------------
 mm/damon/sysfs.c      |   1 +
 mm/damon/vaddr-test.h |   6 +-
 mm/damon/vaddr.c      |  41 +-----
 9 files changed, 415 insertions(+), 290 deletions(-)
 create mode 100644 mm/damon/paddr-cma.c

--
2.27.0