]> www.infradead.org Git - users/jedix/linux-maple.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>
Wed, 17 Aug 2022 20:58:33 +0000 (13:58 -0700)
commitcee97c6ff23621fe1132cfc7d69f2c879bef58f5
tree90a5921451196c1f861a7edaee05320bbac50652
parent7670f12fd191868fe840c3c186e39666096c5285
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