summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2021-10-29 00:36:33 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2021-10-29 03:18:55 +0300
commit2e014660b3e4b7bd0e75f845cdcf745c0f632889 (patch)
tree46d2c9545ce9ae954f83b82ea48c2e08c95dbdde /tools
parenta4aeaa06d45e90f9b279f0b09de84bd00006e733 (diff)
downloadlinux-2e014660b3e4b7bd0e75f845cdcf745c0f632889.tar.xz
mm/damon/core-test: fix wrong expectations for 'damon_split_regions_of()'
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/20211028090628.14948-1-sj@kernel.org Fixes: 17ccae8bb5c9 ("mm/damon: add kunit tests") Signed-off-by: SeongJae Park <sj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions