]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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, 20 Nov 2023 21:16:45 +0000 (13:16 -0800)
commitd99e7dc61818a1c66138c01373b1b1b54ff7d04c
tree148092843c0618b45b824dd9d2eff011c462f51e
parent3216f7c8d91ada0b63fc59a4e2bb650897e00fa7
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