Hi Zheng,
Cc-ed kunit folks, as we usually do for DAMON kunit test changes.
On Tue, 22 Oct 2024 16:39:27 +0800 Zheng Yejian zhengyejian@huaweicloud.com wrote:
As discussed in [1], damon_va_evenly_split_region() is called to size-evenly split a region into 'nr_pieces' small regions, when nr_pieces == 1, no actual split is required. Check that case for better code readability and add a simple kunit testcase.
[1] https://lore.kernel.org/all/20241021163316.12443-1-sj@kernel.org/
Signed-off-by: Zheng Yejian zhengyejian@huaweicloud.com
Reviewed-by: SeongJae Park sj@kernel.org
Thanks, SJ
[...]
linux-kselftest-mirror@lists.linaro.org