All of lore.kernel.org
 help / color / mirror / Atom feed
From: Xin Hao <xhao@linux.alibaba.com>
To: sjpark@amazon.de
Cc: xhao@linux.alibaba.com, akpm@linux-foundation.org,
	linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: [PATCH V4 0/2] mm/damon: Fix some small bugs
Date: Wed, 20 Oct 2021 17:02:59 +0800	[thread overview]
Message-ID: <cover.1634720326.git.xhao@linux.alibaba.com> (raw)

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


             reply	other threads:[~2021-10-20  9:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-20  9:02 Xin Hao [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1634720326.git.xhao@linux.alibaba.com \
    --to=xhao@linux.alibaba.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=sjpark@amazon.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.