diff options
author | SeongJae Park <sj@kernel.org> | 2022-05-10 04:20:54 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-05-13 17:20:08 +0300 |
commit | af3f18f6ad3f3c8ae70955cf288f467ea2bc83ed (patch) | |
tree | 83546e82dcfc0a599fc5f0a34ac026dfb6462903 /mm/rmap.c | |
parent | abacd635fa7b7a39858bb4182eef33ffa628b12c (diff) | |
download | linux-af3f18f6ad3f3c8ae70955cf288f467ea2bc83ed.tar.xz |
mm/damon/vaddr: generalize damon_va_apply_three_regions()
'damon_va_apply_three_regions()' is for adjusting address ranges to fit in
three discontiguous ranges. The function can be generalized for arbitrary
number of discontiguous ranges and reused for future usage, such as
arbitrary online regions update. For such future usage, this commit
introduces a generalized version of the function called
'damon_set_regions()'.
Link: https://lkml.kernel.org/r/20220429160606.127307-4-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/rmap.c')
0 files changed, 0 insertions, 0 deletions