diff options
| author | SeongJae Park <sj@kernel.org> | 2026-05-22 18:40:14 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-06-05 00:45:00 +0300 |
| commit | cd036cc8c384b8593b5020a82b4b73ee3d10e22c (patch) | |
| tree | f10ef49fd48607abd8e32eba6583d7002b7ed994 /include | |
| parent | b23dbda659b645482e3234ad10773d991a288e2f (diff) | |
| download | linux-cd036cc8c384b8593b5020a82b4b73ee3d10e22c.tar.xz | |
samples/damon/mtier: replace damon_add_region() with damon_set_regions()
mtier DAMON sample module and DAMON virtual address operation set (vaddr)
unit tests are using damon_add_region() for setup of DAMON monitoring
target region boundaries setup. But, damon_set_regions() is designed for
exactly the purpose. All other DAMON API callers use the function for the
purpose. Replace damon_add_region() usage in mtier sample module with
damon_set_regions(), for unifying the use case and reducing the
maintenance cost.
Link: https://lore.kernel.org/20260522154026.80546-4-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Brendan Higgins <brendan.higgins@linux.dev>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
