damon_nr_accesses_mvsum(9)
πΈ damon_nr_accesses_mvsum πΈ
okay bestie, welcome to the damon_nr_accesses_mvsum(9) page β this is a kernel API manual situation, and it's literally about access frequency scores, so buckle up π
β¨ NAME β¨
damon_nr_accesses_mvsum β returns the moving sum access frequency score π
π¦ SYNOPSIS π¦
unsigned int damon_nr_accesses_mvsum (struct damon_region *r , struct
damon_ctx *ctx );
like, that's the whole signature, no cap β¨
π ARGUMENTS π
rβ the region you want the access frequency of π this is the main character herectxβ the DAMON context thatrbelongs to π«Ά
π DESCRIPTION π
okay so here's the vibe: this function tells you for how many sampling iterations in the last aggregation interval β that's damon_attrs->aggr_interval β the region was found to be accessed πΈ
so basically you can read that value as the relative access frequency score of the region (r). iconic π
now the important part, don't skip this: the value is calculated as a pseudo moving sum, which means it is not an exact value π it's just a best-effort reasonable estimation. so like, treat it as a really good guess, not gospel, yk?
ngl this is the kind of thing where precision girlies need to chill β it's an estimation and it says so fr fr
β RETURN β
the pseudo moving sum access frequency score π₯ that's it, that's the return value, go off
π SEE ALSO π
kernel file ./mm/damon/core.c β and the whole friend group:
damon_is_registered_ops(9)damon_register_ops(9)damon_select_ops(9)damon_probe_hits_wsum(9)damos_filter_for_ops(9)damon_set_attrs(9)damon_set_schemes(9)damos_commit_quota_goals(9)damos_filters_default_reject(9)damon_commit_ctx(9)damon_nr_running_ctxs(9)damon_start(9)damon_stop(9)damon_is_running(9)damon_kdamond_pid(9)damon_call(9)damos_walk(9)damon_set_region_system_rams_default(9)damon_update_region_access_rate(9)damon_initialized(9)
and that's the page bestie!! π this one lives at ./mm/damon, dated October 2026, and it's page damon_nr_accesses_mvsum(9) β slay, go read some kernel source πβ¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms