]> 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)
commit51bbd6d531830ca9e598fc71c9f55eb235ea95c7
treebc311798cfc10ce325008bc4b5075f060d100f7a
parent1cacc6d8aaaa05308c989214975f04370fed3608
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