mm/damon/core: introduce damon_probe_hits_mvsum()

Implement a function for getting a reasonable best effort quality pseudo
moving sums of probe_hits on demands.  It reuses the internal function for
the pseudo moving sum for data access frequency (nr_accesses).

Link: https://lore.kernel.org/20260703170605.94472-3-sj@kernel.org
Signed-off-by: SJ Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
SJ Park 2026-07-03 10:06:02 -07:00 • committed by Andrew Morton
commit 2ec26dd341
2 changed files with 23 additions and 0 deletions