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