]> Git Repo - linux.git/commit - include/linux/damon.h
mm/damon/core: pass per-region filter-passed bytes to damos_walk_control->walk_fn()
authorSeongJae Park <[email protected]>
Mon, 6 Jan 2025 19:33:57 +0000 (11:33 -0800)
committerAndrew Morton <[email protected]>
Sun, 26 Jan 2025 04:22:28 +0000 (20:22 -0800)
commitcfc33a7d2daca4455ef3ebae63a2e89bd9bb0ebe
treef091c654a38507251b73e153a267d1b0e32d1eea
parente1a1d377e486b097343575e3b8a499f191447e1e
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/[email protected]
Signed-off-by: SeongJae Park <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
include/linux/damon.h
mm/damon/core.c
mm/damon/sysfs.c
This page took 0.05495 seconds and 4 git commands to generate.