[PATCH 0/4] mm/damon: code simplifications and cleanups

From: xiakaixu1987
Date: Tue Sep 13 2022 - 05:12:32 EST


From: Kaixu Xia <kaixuxia@xxxxxxxxxxx>

This patchset contains some code simplifications and cleanups
for DAMON.

Kaixu Xia (4):
mm/damon: simplify the parameter passing for 'prepare_access_checks'
mm/damon/sysfs: simplify the variable 'pid' assignment operation
mm/damon/core: simplify the kdamond stop mechanism by removing 'done'
mm/damon/vaddr: indicate the target is invalid when 'nr_regions' is
zero

mm/damon/core.c | 24 +++++++++---------------
mm/damon/paddr.c | 5 ++---
mm/damon/sysfs.c | 11 ++++-------
mm/damon/vaddr.c | 9 ++++++---
4 files changed, 21 insertions(+), 28 deletions(-)

--
2.27.0