linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V4 0/2] mm/damon: Fix some small bugs
@ 2021-10-20  9:02 Xin Hao
  2021-10-20  9:03 ` [PATCH V4 1/2] mm/damon: Remove unnecessary variable initialization Xin Hao
  2021-10-20  9:03 ` [PATCH V4 2/2] mm/damon/dbgfs: Add adaptive_targets list check before enable monitor_on Xin Hao
  0 siblings, 2 replies; 4+ messages in thread
From: Xin Hao @ 2021-10-20  9:02 UTC (permalink / raw)
  To: sjpark; +Cc: xhao, akpm, linux-mm, linux-kernel

V3 -> V4
  -- patch[1] add Reviewed-by: SeongJae Park <sj@kernel.org>
  -- patch[2]
	Call kfree(kbuf) before return,
	Fix test example in commit info.
	 # cat /sys/kernel/debug/damon/target_ids
	 #
	 # echo on > /sys/kernel/debug/damon/monitor_on
	 # damon: kdamond (5390) starts

V2 -> V3
  -- 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      | 15 ++++++++++++---
 mm/damon/vaddr.c      |  2 +-
 4 files changed, 19 insertions(+), 4 deletions(-)

--
2.31.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-10-20 10:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-20  9:02 [PATCH V4 0/2] mm/damon: Fix some small bugs Xin Hao
2021-10-20  9:03 ` [PATCH V4 1/2] mm/damon: Remove unnecessary variable initialization Xin Hao
2021-10-20  9:03 ` [PATCH V4 2/2] mm/damon/dbgfs: Add adaptive_targets list check before enable monitor_on Xin Hao
2021-10-20 10:03   ` SeongJae Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox