[ Sasha's backport helper bot ]
Hi,
Found matching upstream commit: f3c7a1ede435e2e45177d7a490a85fb0a0ec96d1
WARNING: Author mismatch between patch and found commit: Backport author: SeongJae Park sj@kernel.org Commit author: Zheng Yejian zhengyejian@huaweicloud.com
Status in newer kernel trees: 6.12.y | Not found 6.6.y | Not found 6.1.y | Not found
Note: The patch differs from the upstream commit: --- 1: f3c7a1ede435e ! 1: 624d3f8e31238 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@huawei.com Cc: stable@vger.kernel.org Signed-off-by: Andrew Morton akpm@linux-foundation.org + (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.1.y | Success | Success |