]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mm/damon/tests/core-kunit: add test cases for multiple regions in damon_test_split_re...
authorShu Anzai <shu17az@gmail.com>
Wed, 24 Dec 2025 04:21:59 +0000 (04:21 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 21 Jan 2026 03:24:53 +0000 (19:24 -0800)
commit2caf45764a4fdb5d35524e364c963bb9e2d07fce
treef1809fa787589cdfccc7c30dc87a49598d8bf2a3
parent65a17a3e609f63c7ea2887096dc232a6c05d02a2
mm/damon/tests/core-kunit: add test cases for multiple regions in damon_test_split_regions_of()

Extend damon_test_split_regions_of() to verify that it correctly handles
multiple regions with various 'min_sz_region'.

[sj@kernel.org: remove braces in damon_test_split_regions_of()]
Link: https://lkml.kernel.org/r/20251224153125.69194-1-sj@kernel.org
Link: https://lkml.kernel.org/r/20251224042200.2061847-5-shu17az@gmail.com
Signed-off-by: Shu Anzai <shu17az@gmail.com>
Reviewed-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/damon/tests/core-kunit.h