mm/damon/core-test: add a unit test for the feedback loop algorithm
authorSeongJae Park <sj@kernel.org>
Thu, 30 Nov 2023 02:36:48 +0000 (02:36 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 12 Dec 2023 18:57:04 +0000 (10:57 -0800)
commitf1762cb3eaea34add3655ecd0be9a77aca4e884c
treea2567f67b686e06063c46354e70260988e4179b1
parentd91beaa505a0789c78adcf3ab021f5ed79794697
mm/damon/core-test: add a unit test for the feedback loop algorithm

Implement a simple kunit test for testing the behavior of the feedback
loop algorithm for the aim-oriented feedback-friven DAMOS aggressiveness
auto tuning.

Link: https://lkml.kernel.org/r/20231130023652.50284-6-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Brendan Higgins <brendanhiggins@google.com>
Cc: David Gow <davidgow@google.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/damon/core-test.h