]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests/damon/access_memory: add repeat mode
authorSeongJae Park <sj@kernel.org>
Sat, 17 Jan 2026 02:07:26 +0000 (18:07 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 31 Jan 2026 22:22:44 +0000 (14:22 -0800)
commit514d1bcb58e0ef93fafa4f9c3035d604a4219867
treec82c2be06f4bad1933c547107be96e268a50a1b6
parent891d206e27dc1a684e460b079d2b53e17135d693
selftests/damon/access_memory: add repeat mode

'access_memory' is an artificial memory access generator program that is
used for a few DAMON selftests.  It accesses a given number of regions one
by one only once, and exits.  Depending on systems, the test workload may
exit faster than expected, making the tests unreliable.  For reliable
control of the artificial memory access pattern, add a mode to make it
repeat running.

Link: https://lkml.kernel.org/r/20260117020731.226785-4-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/access_memory.c