damon_probe_hits_wsum(9)
π damon_probe_hits_wsum(9) π
okay bestie so this is a page from the Kernel API Manual (section 9, kernel API stuff, iykyk) and it's all about damon_probe_hits_wsum β a lil function that hands you back the probe hits weighted sum of a region. literally that's the whole vibe. π
β¨ NAME β¨
damon_probe_hits_wsum β returns probe hits weighted sum of a region. that's it, that's the function. π«Ά
πΈ SYNOPSIS πΈ
unsigned int damon_probe_hits_wsum (struct damon_region *r , bool last ,
struct damon_ctx *ctx );
look at her go. three args, returns an unsigned int. iconic behavior honestly. β¨
π¦ ARGUMENTS π¦
rβ the region you want the weighted sum of. like, the actual region. give her a region and she'll do her thing. πlastβ abool, and it's the vibe check for which probe hits you want: set it if your request is for the last-window aggregated probe hits. so like, previous window data, not current. no cap. π°οΈctxβ the context ofr. yes,r's context. they're a package deal bestie. π
β RETURN β
she returns the weighted sum of probe hits of the region. an unsigned int of pure facts. slay. π₯
π SEE ALSO π
okay this is the friend group, and they're all in the kernel file ./mm/damon/core.c β go say hi:
damon_is_registered_ops(9)damon_register_ops(9)damon_select_ops(9)damon_nr_accesses_mvsum(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)
like eighteen whole friends. go read them too, fr fr. π
π reminder bestie: this is the Kernel API Manual, section 9. kernel-level stuff. be normal about it (or don't, honestly, live your truth).
and that's the page!! sourced from ./mm/damon, dated October 2026 β mwah, love u, go read the 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