[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1634720326.git.xhao@linux.alibaba.com>
Date: Wed, 20 Oct 2021 17:02:59 +0800
From: Xin Hao <xhao@...ux.alibaba.com>
To: sjpark@...zon.de
Cc: xhao@...ux.alibaba.com, akpm@...ux-foundation.org,
linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: [PATCH V4 0/2] mm/damon: Fix some small bugs
V3 -> V4
-- patch[1] add Reviewed-by: SeongJae Park <sj@...nel.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
Powered by blists - more mailing lists