]> git.baikalelectronics.ru Git - kernel.git/commit
mm/damon/core: simplify the parameter passing for region split operation
authorKaixu Xia <kaixuxia@tencent.com>
Sat, 13 Aug 2022 15:19:03 +0000 (23:19 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 12 Sep 2022 03:25:51 +0000 (20:25 -0700)
commitec5cd461ff1f7f255cc6d7dcf6310df21b6f9aa3
treebc311798cfc10ce325008bc4b5075f060d100f7a
parent0339dbdb0260387d5ef67533c1f9583477126d10
mm/damon/core: simplify the parameter passing for region split operation

The parameter 'struct damon_ctx *ctx' is unnecessary in damon region split
operation, so we can remove it.

Link: https://lkml.kernel.org/r/1660403943-29124-1-git-send-email-kaixuxia@tencent.com
Signed-off-by: Kaixu Xia <kaixuxia@tencent.com>
Reviewed-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/damon/core-test.h
mm/damon/core.c