diff options
| author | SeongJae Park <[email protected]> | 2021-10-28 21:36:33 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-10-29 00:18:55 +0000 |
| commit | 2e014660b3e4b7bd0e75f845cdcf745c0f632889 (patch) | |
| tree | 46d2c9545ce9ae954f83b82ea48c2e08c95dbdde /scripts/gcc-plugins/sancov_plugin.c | |
| parent | mm: khugepaged: skip huge page collapse for special files (diff) | |
| download | kernel-2e014660b3e4b7bd0e75f845cdcf745c0f632889.tar.gz kernel-2e014660b3e4b7bd0e75f845cdcf745c0f632889.zip | |
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/[email protected]
Fixes: 17ccae8bb5c9 ("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]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions
