[PATCH v2 0/2] mm/damon: Fix some small bugs
From: Xin Hao
Date: Tue Oct 19 2021 - 10:26:10 EST
From: Xin Hao <bier@B-X3VXMD6M-2058.local>
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 | 10 ++++++++--
mm/damon/vaddr.c | 2 +-
4 files changed, 15 insertions(+), 3 deletions(-)
--
2.31.0