]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mm/damon/tests/core-kunit: add a test case for region merge size limit in damon_test_...
authorShu Anzai <shu17az@gmail.com>
Wed, 24 Dec 2025 04:21:58 +0000 (04:21 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 21 Jan 2026 03:24:53 +0000 (19:24 -0800)
commit65a17a3e609f63c7ea2887096dc232a6c05d02a2
tree0264d2e9b3a31a26983f2d38529d1cc5bef12186
parent738dae96b2fb69c15c99f95ed0044bc12830dcba
mm/damon/tests/core-kunit: add a test case for region merge size limit in damon_test_merge_regions_of()

Add a test case in damon_test_merge_regions_of() to verify that two
adjacent regions are not merged if the resulting region would exceed the
specified size limit.

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