Skip to content

mm/damon/core: cleanup code, reduce stack usage, and add kunit

SJ Park damon linux-kselftest linux-mm lkml llvm 1 version Applied

Status from this message: [merged mm-stable] mm-damon-tests-core-kunit-test-psi-goal-values-with-explicit-samples.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesApplied 3/3

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3mm/damon/api: remove unused NR_DAMOS_* enumeratorsinclude/linux/damon.h+0 -80 repliesApplied
2/3mm/damon/core: reduce stack usage furthermm/damon/core.c+5 -40 repliesApplied
3/3mm/damon/tests/core-kunit: test PSI goal values with explicit samplesmm/damon/tests/core-kunit.h+43 -00 repliesApplied

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchSJ Park
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] mm/damon/core: cleanup code, reduce stack usage, and add kunit

Three various improvements. Patch 1 from Zenghui Yu (Huawei) cleans up unused enums. Patch 2 from Arnd Bergmann reduces kdamond's stack usage. Patch 3 from Karl Mehltretter adds a kunit test for uninitialized PSI quota goal stage logic.

Arnd Bergmann (1):
mm/damon/core: reduce stack usage further

Karl Mehltretter (1):
mm/damon/tests/core-kunit: test PSI goal values with explicit samples

Zenghui Yu (Huawei) (1):
mm/damon/api: remove unused NR_DAMOS_* enumerators

 include/linux/damon.h       |  8 -------
 mm/damon/core.c             |  9 ++++----
 mm/damon/tests/core-kunit.h | 43 +++++++++++++++++++++++++++++++++++++
 3 files changed, 48 insertions(+), 12 deletions(-)

base-commit: 9a7b617f9c0b3cc653987c9e6d0434cf1079130f

Signature · 1 line
2.47.3