summaryrefslogtreecommitdiff
path: root/mm/damon/paddr.c
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2023-09-15 05:52:48 +0300
committerAndrew Morton <akpm@linux-foundation.org>2023-10-04 20:32:30 +0300
commit80333828ea7728ebe85d079bb5c1467eb9fc6c8c (patch)
treeba16c0554d20b26a48355b79679a2b6c023f1be8 /mm/damon/paddr.c
parent0926e8ff96b58845e802438374caaca53ab36053 (diff)
downloadlinux-80333828ea7728ebe85d079bb5c1467eb9fc6c8c.tar.xz
mm/damon/core: introduce nr_accesses_bp
Add yet another representation of the access rate of each region, namely nr_accesses_bp. It is just same to the nr_accesses but represents the value in basis point (1 in 10,000), and updated at once in every aggregation interval. That is, moving_accesses_bp is just nr_accesses * 10000. This may seems useless at the moment. However, it will be useful for representing less than one nr_accesses value that will be needed to make moving sum-based nr_accesses. Link: https://lkml.kernel.org/r/20230915025251.72816-6-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 'mm/damon/paddr.c')
0 files changed, 0 insertions, 0 deletions