STRUCT DAMOS_WALK_CONTROL(9)
β¨ struct damos_walk_control(9) β¨
okay bestie, so this is a page from the Kernel API Manual β yes, the Kernel API Manual, we're in the big leagues now π
β and it's literally all about struct damos_walk_control, which is the little control-freak struct that runs the show for damos_walk(). main character energy fr fr π
πΈ NAME πΈ
struct damos_walk_control β the thing that controls damos_walk(). that's it, that's the whole name, and she ate π
π¦ SYNOPSIS π¦
struct damos_walk_control {
void (*walk_fn)(void *data, struct damon_ctx *ctx, struct
damon_target *t, struct damon_region *r, struct damos *s, unsigned long
sz_filter_passed);
void *data;
};
likeβ¦ look at her. two members. no notes. π
π Members π
walk_fnβ the callback function, aka the girl who gets called back for each region. every single one. she shows up πdataβ the payload, the little bundle of stuff that gets passed along to the walk functions. think of it as the aux cord π§
π Description π
so basically β this struct is what controls damos_walk, which is the thing that requests a specific kdamond to invoke the given function on each region that's eligible to apply actions of that kdamond's schemes. yes, that sentence is a lot, i know, but it's the whole vibe.
if you want the full lore, bestie, go refer to damos_walk for more details. iykyk π«Ά
ngl this one's short and sweet β but don't sleep on it, she's load-bearing β¨
π₯ SEE ALSO π₯
Kernel file ./include/linux/damon.h, plus the whole friend group:
struct damon_addr_range(9)struct damon_size_range(9)struct damon_region(9)struct damon_target(9)enum damos_action(9)enum damos_quota_goal_metric(9)struct damos_quota_goal(9)enum damos_quota_goal_tuner(9)struct damos_quota(9)enum damos_wmark_metric(9)struct damos_watermarks(9)struct damos_stat(9)enum damos_filter_type(9)struct damos_filter(9)struct damos_access_pattern(9)struct damos_migrate_dests(9)struct damos(9)enum damon_ops_id(9)struct damon_operations(9)struct damon_intervals_goal(9)enum damon_filter_type(9)struct damon_filter(9)struct damon_probe(9)struct damon_attrs(9)struct damon_ctx(9)
okay that's the read π this icon lives in ./include/linux, and the version tag on her is October 2026 β manifesting that energy for all of us β¨ mwah, go read damos_walk, ily, bye π¦π
π¦ 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