Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mm/damon/core-test: fix wrong expectations for 'damon_split_regions_o…
…f()' Kunit test cases for 'damon_split_regions_of()' expects the number of regions after calling the function will be same to their request ('nr_sub'). However, the requested number is just an upper-limit, because the function randomly decides the size of each sub-region. This fixes the wrong expectation. Link: https://lkml.kernel.org/r/[email protected] Fixes: 17ccae8 ("mm/damon: add kunit tests") Signed-off-by: SeongJae Park <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information