diff options
| author | SeongJae Park <[email protected]> | 2022-09-09 20:28:56 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-10-03 14:03:06 -0700 |
| commit | 9c950c22833cfd9887da7679534e5c6deb44b008 (patch) | |
| tree | 7cdfe77cddf9d923f97189bcc8a842f401498305 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | ade38b8ca5ceeeb72e8d01357f3dcde7c87570cc (diff) | |
mm/damon/core: avoid holes in newly set monitoring target ranges
When there are two or more non-contiguous regions intersecting with given
new ranges, 'damon_set_regions()' does not fill the holes. This commit
makes the function to fill the holes with newly created regions.
[[email protected]: handle error from 'damon_fill_regions_holes()']
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 3f49584b262c ("mm/damon: implement primitives for the virtual memory address spaces")
Signed-off-by: SeongJae Park <[email protected]>
Reported-by: Yun Levi <[email protected]>
Cc: Brendan Higgins <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: Shuah Khan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions