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