summaryrefslogtreecommitdiff
path: root/lib/xarray.c
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2023-09-15 05:52:49 +0300
committerAndrew Morton <akpm@linux-foundation.org>2023-10-04 20:32:30 +0300
commitace30fb21af5f1be1605db72c16040b95b1557ef (patch)
tree354827f4ddb7ae02ee231fd953c83752b3236eb0 /lib/xarray.c
parent80333828ea7728ebe85d079bb5c1467eb9fc6c8c (diff)
downloadlinux-ace30fb21af5f1be1605db72c16040b95b1557ef.tar.xz
mm/damon/core: use pseudo-moving sum for nr_accesses_bp
Let nr_accesses_bp be calculated as a pseudo-moving sum that updated for every sampling interval, using damon_moving_sum(). This is assumed to be useful for cases that the aggregation interval is set quite huge, but the monivoting results need to be collected earlier than next aggregation interval is passed. Link: https://lkml.kernel.org/r/20230915025251.72816-7-sj@kernel.org Signed-off-by: SeongJae Park <sj@kernel.org> Cc: Brendan Higgins <brendanhiggins@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/xarray.c')
0 files changed, 0 insertions, 0 deletions