]> 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>
Fri, 26 Aug 2022 05:02:51 +0000 (22:02 -0700)
commitfcb7bb198ff1c3ee20d8350e93fbd64c3453e433
tree4fd5bcb4a9b9c7bbc19f71555f925acd4592f707
parent0ef0f147a107fdd7b304fc7b54dbe1807dc9c010
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