mm/damon/core-test: add a unit test for damon_moving_sum()
authorSeongJae Park <sj@kernel.org>
Fri, 15 Sep 2023 02:52:47 +0000 (02:52 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 4 Oct 2023 17:32:30 +0000 (10:32 -0700)
commit0926e8ff96b58845e802438374caaca53ab36053
treef2750796a481c23e12ae9fa73d64036d9db4d76d
parentd2c062ade07ffd206dd16bf085f02abc59651309
mm/damon/core-test: add a unit test for damon_moving_sum()

Add a simple unit test for the pseudo moving-sum function
(damon_moving_sum()).

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