diff options
| author | SeongJae Park <sj@kernel.org> | 2025-01-06 11:33:57 -0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-01-25 20:22:28 -0800 |
| commit | cfc33a7d2daca4455ef3ebae63a2e89bd9bb0ebe (patch) | |
| tree | f091c654a38507251b73e153a267d1b0e32d1eea /mm/damon/sysfs-schemes.c | |
| parent | e1a1d377e486b097343575e3b8a499f191447e1e (diff) | |
mm/damon/core: pass per-region filter-passed bytes to damos_walk_control->walk_fn()
Total size of memory that passed DAMON operations set layer-handled DAMOS
filters per scheme is provided to DAMON core API and ABI (sysfs interface)
users. Having it per-region in non-accumulated way can provide it in
finer granularity. Provide it to damos_walk() core API users, by passing
the data to damos_walk_control->walk_fn().
Link: https://lkml.kernel.org/r/20250106193401.109161-13-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/damon/sysfs-schemes.c')
0 files changed, 0 insertions, 0 deletions