OSDN Git Service

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)
commit4ed9824346c071c949968b16ec3e99eaf967c23c
treebc311798cfc10ce325008bc4b5075f060d100f7a
parent57eb60c04d2c7b0de91eac2bc5d0331f8fe72fd7
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