[ Sasha's backport helper bot ] Hi, Found matching upstream commit: f3c7a1ede435e2e45177d7a490a85fb0a0ec96d1 WARNING: Author mismatch between patch and found commit: Backport author: SeongJae Park <sj@xxxxxxxxxx> Commit author: Zheng Yejian <zhengyejian@xxxxxxxxxxxxxxx> Status in newer kernel trees: 6.12.y | Not found 6.6.y | Not found Note: The patch differs from the upstream commit: --- 1: f3c7a1ede435e ! 1: 2989b63c0ad2c mm/damon/vaddr: fix issue in damon_va_evenly_split_region() @@ Commit message And add 'nr_piece == 1' check in damon_va_evenly_split_region() for better code readability and add a corresponding kunit testcase. - This patch (of 2): According to the logic of damon_va_evenly_split_region(), currently @@ Commit message Cc: Ye Weihua <yeweihua4@xxxxxxxxxx> Cc: <stable@xxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> + (cherry picked from commit f3c7a1ede435e2e45177d7a490a85fb0a0ec96d1) - ## mm/damon/tests/vaddr-kunit.h ## -@@ mm/damon/tests/vaddr-kunit.h: static void damon_test_split_evenly(struct kunit *test) + ## mm/damon/vaddr-test.h ## +@@ mm/damon/vaddr-test.h: static void damon_test_split_evenly(struct kunit *test) damon_test_split_evenly_fail(test, 0, 100, 0); damon_test_split_evenly_succ(test, 0, 100, 10); damon_test_split_evenly_succ(test, 5, 59, 5); --- Results of testing on various branches: | Branch | Patch Apply | Build Test | |---------------------------|-------------|------------| | stable/linux-6.6.y | Success | Success |