selftests/damon: add tests for DAMON_LRU_SORT's enabled parameter
authorSeongJae Park <sj@kernel.org>
Tue, 25 Oct 2022 17:36:50 +0000 (17:36 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 30 Nov 2022 23:01:27 +0000 (15:01 -0800)
commit9cd6ffa60256e931503d347006049b8bef508203
tree420442941782cef55e3f68af629fa838597ef3a3
parent7a034fbba3361e94956431d17660d7c5674d13c3
selftests/damon: add tests for DAMON_LRU_SORT's enabled parameter

Add simple test cases for DAMON_LRU_SORT's 'enabled' parameter.  Those
tests are focusing on the synchronous behavior of DAMON_RECLAIM enabling
and disabling.

Link: https://lkml.kernel.org/r/20221025173650.90624-5-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/damon/Makefile
tools/testing/selftests/damon/lru_sort.sh [new file with mode: 0644]