mm/damon/core-test: test damon_split_region_at()'s access rate copying
authorSeongJae Park <sj@kernel.org>
Sun, 19 Nov 2023 17:15:29 +0000 (17:15 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 11 Dec 2023 00:51:50 +0000 (16:51 -0800)
commit50668b53f8c9cdb2f6a7f7e3ff0a5d0bd85cc932
treeb6f2a711d99b99b56725ebc89e2ee7729c8b0aab
parenta5989d4ed40cef0cadede2393c714a1ff9179f65
mm/damon/core-test: test damon_split_region_at()'s access rate copying

damon_split_region_at() should set access rate related fields of the
resulting regions same.  It may forgotten, and actually there was the
mistake before.  Test it with the unit test case for the function.

Link: https://lkml.kernel.org/r/20231119171529.66863-2-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Brendan Higgins <brendanhiggins@google.com>
Cc: David Gow <davidgow@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/damon/core-test.h