[PATCH v3 0/2] mm/damon: Fix some small bugs

From: Xin Hao
Date: Tue Oct 19 2021 - 21:42:39 EST


v3 -> V2
-- Fix some formatting issues
-- Modify the return value of 'damon_targets_empty' to bool type

V1 -> V2
-- As SeongJae Park advised, put 'ctx->adaptive_targets
check' into 'dbgfs_monitor_on_write()'

Xin Hao (2):
mm/damon: Remove unnecessary variable initialization
mm/damon/dbgfs: Add adaptive_targets list check before enable
monitor_on

include/linux/damon.h | 1 +
mm/damon/core.c | 5 +++++
mm/damon/dbgfs.c | 13 ++++++++++---
mm/damon/vaddr.c | 2 +-
4 files changed, 17 insertions(+), 4 deletions(-)

--
2.31.0