mbox series

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

Message ID cover.1634693911.git.xhao@linux.alibaba.com (mailing list archive)
Headers show
Series mm/damon: Fix some small bugs | expand

Message

haoxin Oct. 20, 2021, 1:42 a.m. UTC
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