damon_commit_ctx(9)
π damon_commit_ctx π
okay bestie, this is the Kernel API Manual entry for damon_commit_ctx β manual name folded in right here like a lil name tag. π
πΈ NAME πΈ
damon_commit_ctx β Commit parameters of a DAMON context to another. No cap, that's literally the job.
β¨ SYNOPSIS β¨
int damon_commit_ctx (struct damon_ctx *dst , struct damon_ctx *src );
π«Ά ARGUMENTS π«Ά
dstβ the commit destination DAMON context. This is where the params are going, bestie.srcβ the commit source DAMON context. This is where they're coming from.
π¦ DESCRIPTION π¦
Okay so this function copies user-specified parameters from src to dst, and it updates the internal status and results accordingly. It's giving "glow-up for a running context" β use this for context-level parameter updates of a running context, instead of doing manual in-place updates. Like, do not just poke at it yourself, that's not the vibe.
This function should be called from a parameters-update safe context, like damon_call. That's the safe lil lane. π
bestie heads-up: use this instead of manual in-place updates for context-level params of a running context. And call it from a parameters-update safe context, like damon_call. π
π SEE ALSO π
Kernel file: ./mm/damon/core.c β go peek, it's right there. The whole squad:
damon_is_registered_ops(9)damon_register_ops(9)damon_select_ops(9)damon_nr_accesses_mvsum(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_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)
Signed, sealed, delivered by damon_commit_ctx(9) from ./mm/damon, dated October 2026. periodt. π
β¨
π¦ 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